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:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 20 Jun 2006 23:43:26

"Silvia" <silvia@correo.com> wrote in message
news:4498ea92$1@newsgroups.borland.com...

> We are using directly Winsock API calls.
>
> We are seeing the UDP datagrams with a counter in the reception.
> As we know how many datagrams are sent, we see that if we don't
> process anything the counter tells us all the datagrams have been
> received. If we process something we see a lot of them have been lost.

How are you receiving the packets to begin with?  How are you managing the
counter?  How are you determining that exactly?

Again, I ask that you please show your actual code.

> We are using Ethereal as well to see the datagrams received, and in
> any case all the UDP datagrams have reached the PC.

Reaching the PC is not the same as reaching the actual socket endpoint.
Data can reach a PC and be rejected by the OS before reaching an
application.

> We know UDP does not guarantee delivery, but we don't understand
> why when we don't process all the datagrams have been received, and
> when we are processing them a lot of them are lost.

You keep saying "process".  What EXACTLY are you processing?


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive