Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: TIdTcpClient / Server and pointer (indy 10)

www.cryer.info
Managed Newsgroup Archive

Re: TIdTcpClient / Server and pointer (indy 10)

Subject:Re: TIdTcpClient / Server and pointer (indy 10)
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 26 Dec 2006 12:59:13

"Dejan Petrovic" <dejanbng@removeThis.ztbclan.com> wrote in message
news:459084fd@newsgroups.borland.com...

> I tryed
>  AContext.Connection.IOHandler.ReadStream(st);
>
> but in this case client raise error :
>
> Socket Error # 10053
> Software caused connection abort.
>
> and steam is not received.

According to the documentation:

    WSAECONNABORTED (10053)

    Software caused connection abort.

    An established connection was aborted by the software in your host
machine, possibly due to a data transmission timeout or protocol error.

Make sure that your writing code is sending data properly in the first place
so ReadStream() can receive it properly.  What does your writing code
actually look like?


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive