Re: UDP packets
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: 17 May 2007 10:47:03 -0700
On May 16, 11:44 pm, Jack <junw2...@xxxxxxxxx> wrote:
The system is Sun OS. I checked my system. The default UDP buffer
setting is about 250K. If I make
it larger, like 10M, is there any problem? Assume memory is enough.
Even if you find in experimentation that you never lose a UDP datagram
after you do this, I still would consider it irresponsible to assume
that it will never happen. You still have to design your code to
handle this situation gracefully.
Why did you choose UDP in the first place? It sounds like it would be
about the worst choice.