[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatib
From: |
Guillermo Prandi |
Subject: |
RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility |
Date: |
Wed, 17 May 2006 10:34:30 -0300 |
Hi, Wilson. I got it working in my Windows test implementation by not
returning unless at least one byte was read. From the source code I
interpreted that sio_read should return AT MOST the specified number of
characters. Additionally, Windows lets you specify an inter-character
timeout for the read operation, so you can keep reading if more characters
keep coming and thus reduce the processing overhead. You could implement
something alike (some UARTs implement such timeout too).
Guille
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility,
Guillermo Prandi <=
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Wilson, Clive, 2006/05/17
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Guillermo Prandi, 2006/05/17
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Wilson, Clive, 2006/05/17
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Wilson, Clive, 2006/05/19
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Guillermo Prandi, 2006/05/24
- RE: [lwip-users] PPP negotiation frame length and sio_read() inco mpatibility, Guillermo Prandi, 2006/05/24