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:"Peter Ng" (peterng1..@rogers.com)
Date:Mon, 18 Dec 2006 22:04:18

hi, thanks all for the comments..I will investigate more.
It is TCP.I think is the receiving end causing problem.


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4586f233@newsgroups.borland.com...
>
> "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:

none

In response to:

www.cryer.info
Managed Newsgroup Archive