The Listen method listens on a TCP socket.
HRESULT Listen( [in] INT Backlog );
Maximum length of the queue of pending connections. This is the same as the backlog parameter of the Winsock listen function.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
The Listen method indicates to the network that you are willing to accept connections to the port for which you have a bind.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.