Internet Direct (Indy)
Home
PreviousUpNext
EIdClosedSocket Class

Exception raised when a connection has been unexpectedly closed during a socket operation.

Pascal
EIdClosedSocket = class(EIdException);

EIdClosedSocket is an EIdException descendant that represents an exception raised when a connection has been unexpectedly closed during a socket operation. 

EIdClosedSocket is used in the implement of the ReadFromSource method in TIdIOHandlerStack and TIdSSLIOHandlerSocketOpenSSL used for the IOHandler in socket connections. EIdClosedSocket is also used in protocol-level implementations like the OnExecute event handler in TIdCustomHTTPServer and the Disconnect method in TIdIMAP4.

EIdException 

TIdIOHandlerStack.ReadFromSource 

TIdSSLIOHandlerSocketOpenSSL.ReadFromSource 

TIdCustomHTTPServer.OnExecute 

TIdIMAP4.Disconnect

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.