| BOOL 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 Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cswsock6.h.
Library: Use cswskav6.lib.
See Also
InetGetServerStatus,
InetServerRestart, InetServerStart, InetServerStop, InetServerSuspend
|