| BOOL WINAPI InetServerResume(
|
| |
SOCKET hServer |
|
| );
|
The InetServerResume function resumes accepting client
connections on the specified server.
Parameters
- hServer
- Handle to the server socket.
Return Value
If the function succeeds, the return value is non-zero. If the
function fails, the return value is zero. To get extended error
information, call InetGetLastError.
Remarks
The InetServerResume function instructs the server to
resume accepting client connections. Any pending client connections
that were requested while the server was suspended will be
accepted.
The socket handle for the server must be one that was created by
calling the InetServerStart function, and cannot be a socket
that was created using the InetListen or InetListenEx
functions.
Requirements
Client: Requires Windows 7, Windows Vista or Windows
XP.
Server: Requires Windows Server 2008 or Windows Server
2003.
Header: Include cswsock7.h.
Library: Use cswskav7.lib.
See Also
InetGetServerStatus,
InetServerRestart, InetServerStart, InetServerStop, InetServerSuspend
|