Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: EIdSocketError Socket Error # 10054 Connection reset by peer

www.cryer.info
Managed Newsgroup Archive

Re: EIdSocketError Socket Error # 10054 Connection reset by peer

Subject:Re: EIdSocketError Socket Error # 10054 Connection reset by peer
Posted by:"Venu" (ven..@hotmail.com)
Date:Thu, 27 Mar 2008 14:17:08 +0530



On "TfrmServer.httpServerCommandGet" I am doing the page processing.

At one instance, I need to run an external function (which takes 5-7 secs)
to do some database processing and
I have to show the corresponding error page.

During this time, it comes up with an access violation with the
"EIdSocketError Socket Error # 10054 Connection reset by peer"

The call trace looks like this

:7c812a5b kernel32.RaiseException + 0x52
IdStack.TIdStack.RaiseSockError(10054)
IdTCPConnection.TIdTCPConnection.WriteBuffer((no value), 105,True)
IdTCPConnection.TIdTCPConnection.FlushWriteBuffer(-1);
IdTCPConnection.TIdTCPConnection.CloseWriteBuffer
IdCustomHTTPServer.TIdHTTPResponseInfo.WriteHeader
IdCustomHTTPServer.TIdCustomHTTPServer.DoExecute($21302E0)
IdTCPServer.IdPeerThread.Run
IdThread.TIdThread.Execute
Classes.ThreadProc($21302E0)
System.ThreadWrapper($2195610)
:7c80b683 ; C:\WINDOWS\system32\kernel32.dll


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:47eb499b$1@newsgroups.borland.com...
>
> "Venu" <venuc@hotmail.com> wrote in message
> news:47eb18a6@newsgroups.borland.com...
>
>> The Server and client is in the same application, infact in the same
>> form.
>
> Then your OS is likely messed up.  It should not be possible to get that
> particular error on the same machine.
>
>> I am still getting this error
>
> What does your actual code look like?  Where are are seeing the error
> exactly - client-side or server-side?  What are you doing when the error
> occurs?
>
>
> Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive