Topic Path: Symbol Reference > Classes > EIdConnClosedGracefully Class
ContentsIndexHome
PreviousUpNext
EIdConnClosedGracefully Class

Exception raised when a connection has close gracefully during socket operations.

File
EIdConnClosedGracefully = class(EIdSilentException);

EIdSilentException is a EIdSilentException descendant that represents the exception raised when a connection has been closed gracefully. 

EIdSilentException is raised when a valid socket descriptor has not been allocated during a check for a readable socket handle in TIdSocketHandle.Readable

EIdSilentException is also raised when reading a stream in TIdIOHandler.ReadStream

As an EIdSilentException descendant, EIdConnClosedGracefully responds like the VCL EAbort exception. It is recommended that you set your IDE to ignore those exceptions by clicking Tools -> Debugger Options -> Language Exceptions -> Add and entering the value "EIdSilentException".

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.