Re: Temporary build
Philip S Tellis <[email protected]>
| Newsgroups | gmane.network.everybuddy.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 10 Apr 2003, Meredydd Luff wrote: > Try that with some debug code. If you ever need more than one try to > read data except on EOF, I want to hear about it. We came across it many times with ayttm on slow internet connections. Often a full packet does not come through on the first read, and the next read will block forever. There's no need to set the socket to non-blocking if you're only going to read as much as is available, and only when something is available. What is needed is to buffer the data until a complete packet is read. Philip -- In specifications, Murphy's Law supersedes Ohm's.