A www.Sockets4.NET class library

AIMConnection.IsConnected Method 

Determine socket connection status

public bool IsConnected();

Return Value

True if socket is connected to TOC server

See Also

AIMConnection Class | Sockets4AIM Namespace