in reply to How to increase Socket buffer size?
How did you determine that you're losing packets due to buffer overflows? There are a lot of things that can go wrong between two hosts; how did you narrow it down? UDP doesn't guarantee package delivery; that's why they call it Unreliable. :)
If reliability is that important to you, you could implement packet numbers, reassembly for out-of-order packet delivery, and retransmission guidelines. Of course, it may end up looking a lot like TCP. Would it be possible to switch protocols?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to increase Socket buffer size?
by sureshr (Beadle) on May 06, 2003 at 11:40 UTC |