com.onlineobject.objectnet Namespace

NetworkSocketExtensions..::..IsConnected Method

Checks if the socket is currently connected to a remote host.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public static bool IsConnected(

	this Socket socket

)

Parameters

socket
Type: Socket
The Socket object to check for connectivity.

Return Value

True if the socket is connected, false otherwise.