You are here: More about problems reading COM ports « PHP « IT news, forums, messages
More about problems reading COM ports

Posted by John McCaskey on 03/27/05 06:12

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация