More about problems reading COM ports

From: Date: Sun, 27 Mar 2005 03:09:38 +0000
Subject: More about problems reading COM ports
Groups: php.general 
Request: Send a blank email to php-general+get-211647@lists.php.net to get a copy of this message
Others have reported problems reading COM ports using fopen and fgets or fread. They open the port and start reading but nothing ever arrives. I have the same problem and discovered the following. There is an 8K input buffer. Only after 8K bytes have arrived does fgets or fread see the first. How does one get around this feature (or bug)? This is with php 5.0.2.2 on Windows XP.

« previous php.general (#211647) next »