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 10:17:33

"Silvia" <silvia@correo.com> wrote in message
news:44981962@newsgroups.borland.com...

> I have developed a server program which is waiting for clients'
> data. Both of them are running in a Windows XP OS.  The
> server has an UDP port waiting for the UDP datagrams sent by
> the client. The client opens several UDP ports with the same
> UDP port of the server. Each datagram is sent using a different
> port in the client to the same port in the server.

Which UDP components are you using?

> I have hundreds of UDP datagrams sent to the server. If I do
> not process the information received in the server I see that the
> server has received all the datagrams.

How are you seeing that?

> However if I perform any operation or I make sleep the server each
> time a datagram is received I only receive 200 UDP datagrams, I
> loss a lot of datagrams.

UDP does not guarantee delivery like TCP does.

> I have been spying the communications and the datagrams reach
> properly the server's PC, the problems is with my program.

What does the actual code look like?

> Which one is the buffer size of the UDP port? How can I modify
> this buffer?

Can't answer that without knowing how you are using the UDP sockets to begin
with.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive