Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.protocols.tcp-ip    |    TCP and IP network protocols.    |    14,669 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 13,464 of 14,669    |
|    EJP to Jorgen Grahn    |
|    Re: Reading UDP at high rates, and selec    |
|    15 Mar 10 05:26:41    |
      From: esmond.not.pitt@not.bigpond.com              On 13/03/2010 7:23 PM, Jorgen Grahn wrote:       > When an UDP socket is       > readable, I try to read one datagram from it, process it, and go back       > to select.              Assuming you're in non-blocking mode, read as many datagrams you can at       this point, until you get the zero or whatever it is in your API that       tells you there is no more data. Also assuming this thread has nothing       else to do ;-)              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca