Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Thanks

www.cryer.info
Managed Newsgroup Archive

Thanks

Subject:Thanks
Posted by:"George Wei" (nobo..@yahoo.com)
Date:15 May 2006 18:17:22

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote in
news:4468bfc6@newsgroups.borland.com:

> You are sending your data to the server too soon.  When used in
> non-blocking mode, TClientSocket::Open() is does not block until the
> socket is connected. It returns immediately after beginning the
> asynchronous process of connecting to the server.  So you are sending
> the data before the socket has actually connected.  You need to wait
> for the OnConnect event to trigger before then sending your data.
>
>
> Gambit

That's the point! Thanks a lot.

George

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive