Results 1 to 2 of 2
When i try to write and read data like ABC through serial port to a hardware device, used to check whether transmission of traffic is done without loss, the reading ...
- 07-15-2008 #1Just Joined!
- Join Date
- Dec 2007
- Location
- bangalore
- Posts
- 38
Serial eagain error
When i try to write and read data like ABC through serial port to a hardware device, used to check whether transmission of traffic is done without loss, the reading fails and the reason given is eagain error: temporarily resource unavailable when it is being read only by me........can anybody suggest what is wrong? ....
- 07-15-2008 #2
When I do this at the command line:
I get this explanation for the EAGAIN error:Code:man 2 read
If you're using nonblocking I/O, use select() to inform you when data is available (for reading) or there's room for output data (for writing).Code:...... EAGAIN Non-blocking I/O has been selected using O_NONBLOCK and no data was immediately available for reading.
Hope this helps.--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote