ProxySocket.GetConnectionState Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
GetConnectionState()
Gets a value that indicates whether the ProxySocket is currently connected to a remote host.
Declaration
public SocketState GetConnectionState()
Returns
Type | Description |
---|---|
SocketState | true if the ProxySocket is connected; otherwise, false. |
Remarks
As long as there is still data available to be read from the socket, this method will indicate that the ProxySocket is connected, even though technically it might have already be considered disconnected based on one's point of view.