Applies to: desktop apps only
The Listen method listens on a TCP socket.
HRESULT Listen( [in] INT Backlog );
- Backlog [in]
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.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010