Re: can't reconnect after disconnect

Giganews Newsgroups
Subject: Re: can't reconnect after disconnect
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Mon, 25 Sep 2006

"Tarvirdi" <m_tarvir…@isc.iranet.net> wrote in message
news:9D21561C3009E340m_tarvir…@isc.iranet.net...

> I have a problem on reconnecting after disconnect a socket.

Try clearing the IOHandler's InputBuffer before reconnecting.  Indy will
consider a connection to be active while there is unread data in the
InputBuffer.

Gambit

Replies

None

In response to

can't reconnect after disconnect posted by Tarvirdi on Mon, 25 Sep 2006