EIdNotConnected is an EIdTCPConnectionError descendant that represents an exception type raised when a local connection has been closed during a read or write operation using the socket binding. EIdNotConnected is raised in both TIdTCPConnection.ReadFromStack and TIdTCPConnection.WriteBuffer when Connected contains True after a call to CheckForDisconnect.