Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: multiple send failed

www.cryer.info
Managed Newsgroup Archive

Re: multiple send failed

Subject:Re: multiple send failed
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 18 Dec 2006 11:56:50

"Peter Ng" <peterng168@rogers.com> wrote in message
news:458403ae$1@newsgroups.borland.com...

> It seems sometimes only the first message is received at the
> remote and the rest are not.

Are you using TCP or UDP?  TCP guarantees that all messages will be
received.  UDP does not guarantee that.  What is more likely happening is
that either:

1) you are not taking into account the return value of send(), so that you
are not actually sending all of the data to begin with

2) you are sending the data properly, but the receiver is not reading the
data properly.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive