Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: Need advice - Synapse - Connection Reset by Peer
| Subject: | Re: Need advice - Synapse - Connection Reset by Peer |
| Posted by: | "Lukas Gebauer" (gebaue..@mlp.cz) |
| Date: | Wed, 2 Aug 2006 08:42:31 |
Mat Ballard wrote:
> ps: the actual 10054 error occurs here in the server code, at
> TTCPBlockSocket.RecvString, which has correctly been fired by the ServerDaemon
> thread using Synchronize:
RecvString expecting CRLF string terminator. But SendString sending data
as is... if you are sending by SendString and you are receiving it by
Recvstring, you must send your data by Sendstring(yourdata + CRLF);