Syntax
int vm_soc_listen(
    int sock, 
    int backlog
);
ContentsIndex
PreviousUpNext
vm_soc_listen
Syntax
int vm_soc_listen(
    int sock, 
    int backlog
);
Description

Makes the specified socket listen to the incoming connections.

Parameters
Parameters 
Description 
int sock 
[IN] Specifies the bound socket to listen to the incoming connections. 
int backlog 
[IN] The maximum number of connection requests that can be queued. 
Return Values
Return Values 
Description 
VM_SOC_SUCCESS 
Success.
 
VM_SOC_INVALID_SOCKET 
Invalid socket ID.
 
VM_SOC_BEARER_FAIL 
Bearer broken.
Bearer broken. 
VM_SOC_OPNOTSUPP 
Only TCP can be listened.
 
VM_SOC_ALREADY 
Already listened.
 
VM_SOC_ERROR 
Unspecified error.
 
File

vmsock.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.