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?
In reply to Re: How to increase Socket buffer size?
by chromatic
in thread How to increase Socket buffer size?
by sureshr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |