Mono Class Library: System.Net.Sockets.TcpListener Overview | Members

System.Net.Sockets.TcpListener.Pending Method

Returns whether or not there are pending connections.

public bool Pending ()

Returns

Returns 'true' if there are pending connections and 'false' otherwise.

Remarks

Connections are removed from the pending state by calls to TcpListener.AcceptSocket and TcpListener.AcceptTcpClient.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0