Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: UDP buffer problems

www.cryer.info
Managed Newsgroup Archive

Re: UDP buffer problems

Subject:Re: UDP buffer problems
Posted by:"Francois PIETTE [ICS - MidWare]" (francois.piet..@overbyte.be)
Date:Wed, 21 Jun 2006 11:59:43

This is normal behaviour of UDP protocol which is just a "best effort"
protocol. You may loose packets, receive them in incorrect order, recevie
same packet twice and so on. You application must be ready to deal with
those situations.

You will loose packet when thruput is too high for your hardware. Use a
faster ethernet card with embedded buffer. Note switches and routers will
also drop UDP packet when network congestion occurs.

If you need reliable transport, use TCP or alternatively reinvent the wheel
using UDP and programming error detection and correction.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive