Interface for socket connection status.
Checks if connection aborted
Checks if connection refused
Checks if connection reset
Checks if connected
Checks if not connected
Interface for socket connection status.