Determine if the server is listening for client connections.
Parameters
None.
Return Value
If the server has started and is listening for client connections,
the method returns a non-zero value. If the server is not listening
for connections, the return value is zero.
Remarks
The IsListening method determines if the server has been
started and is actively listening for incoming
connection requests from client applications. This method will return
zero if the server is not active, if it has been suspended using the
Suspend method or if the Stop method has been called to
shutdown the server.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header: Include cswsock10.h
Import Library: cswskv10.lib
See Also
IsActive,
Start,
Stop,
Suspend
|