Determine if there are pending connection requests.
[Visual Basic] Public Function Pending() As Boolean [C#] public bool Pending(); [C++] public: bool Pending(); [JScript] public function Pending() : Boolean;
True if connections are pending; otherwise, false.
Exception Type | Condition |
---|---|
InvalidOperationException | The listener has not been started with a call to Start. |
TCPListener Class | TCPListener Members | System.Net.Sockets Namespace