[PHP] More about problems reading COM ports

2005-03-26 Thread John McCaskey
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

[PHP] More about problems reading COM ports

2005-03-26 Thread John McCaskey
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