note 95445 added to function.dio-read

From: Date: Mon, 04 Jan 2010 02:28:07 +0000
Subject: note 95445 added to function.dio-read
Groups: php.notes 
Request: Send a blank email to php-notes+get-164579@lists.php.net to get a copy of this message
I am using dio functions on windows to read RS232 port. I can read/write but it seems that the write function cannot be binary. In particular: dio_write($com1,chr(10),1); will result in writing 2 bytes 0D 0A be cause \n is translated to \r\n. I have not found any way to overcome this limitation so far ---- Server IP: 69.147.83.197 Probable Submitter: 210.64.15.56 ---- Manual Page -- http://www.php.net/manual/en/function.dio-read.php Edit -- https://master.php.net/note/edit/95445 Del: integrated -- https://master.php.net/note/delete/95445/integrated Del: useless -- https://master.php.net/note/delete/95445/useless Del: bad code -- https://master.php.net/note/delete/95445/bad+code Del: spam -- https://master.php.net/note/delete/95445/spam Del: non-english -- https://master.php.net/note/delete/95445/non-english Del: in docs -- https://master.php.net/note/delete/95445/in+docs Del: other reasons-- https://master.php.net/note/delete/95445 Reject -- https://master.php.net/note/reject/95445 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164579) next »