C# Class System.Net.Sockets.SocketExtensions

Show file Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
IsConnected ( this iSocket ) : bool

Determines if the connection to the machine on the other side of the socket is still active. Serves the same purpose as TcpClient.Connected and TcpListener.Connected.

Method Details

IsConnected() public static method

Determines if the connection to the machine on the other side of the socket is still active. Serves the same purpose as TcpClient.Connected and TcpListener.Connected.
public static IsConnected ( this iSocket ) : bool
iSocket this
return bool