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

www.cryer.info
Managed Newsgroup Archive

UDP buffer problems

Subject:UDP buffer problems
Posted by:"Silvia" (silv..@correo.com)
Date:20 Jun 2006 08:50:58

Hello,

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.

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. 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.

I have been spying the communications and the datagrams reach
properly the server's PC, the problems is with my program. Which
one is the buffer size of the UDP port? How can I modify this
buffer? Any other idea?

Could anyone help me?

Thanks in advance,

         Silvia Mangas

Replies:

www.cryer.info
Managed Newsgroup Archive