note 91852 added to function.dio-read

From: Date: Mon, 29 Jun 2009 12:58:32 +0000
Subject: note 91852 added to function.dio-read
Groups: php.notes 
Request: Send a blank email to php-notes+get-157662@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: 195.221.21.36 Probable Submitter: 217.128.196.151 ---- Manual Page -- http://www.php.net/manual/en/function.dio-read.php Edit -- https://master.php.net/note/edit/91852 Del: integrated -- https://master.php.net/note/delete/91852/integrated Del: useless -- https://master.php.net/note/delete/91852/useless Del: bad code -- https://master.php.net/note/delete/91852/bad+code Del: spam -- https://master.php.net/note/delete/91852/spam Del: non-english -- https://master.php.net/note/delete/91852/non-english Del: in docs -- https://master.php.net/note/delete/91852/in+docs Del: other reasons-- https://master.php.net/note/delete/91852 Reject -- https://master.php.net/note/reject/91852 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157662) next »