Why do I keep getting EIdConnClosedGracefully exceptions?
|Previous Top Next|
The client has disconnected the socket normally and this exception is used to notify the server handling code. From the IDE just hit F9 to resume program execution and Indy will catch and handle the exception.
The server side of this connection has disconnected normally but your client has attempted to read or write to the connection. You should trap this error using a try..except or in C++ Builder, a try..catch block.
There is more detail about the EIdConnClosedGracefully exception in an article at the Indy Portal titled Connection Closed Gracefully.
Please also see the help file for possible further information.