/
listen TCP
listen TCP
Set a socket to accept incoming connections. See function NetSock_Listen() for more information.
Files
net_bsd.h/net_bsd.c
Prototype
int listen (int sock_id, int sock_q_size);
Arguments
sock_id
Socket descriptor/handle identifier of socket to listen.
sock_q_size
Number of connection requests to queue on listen socket.
Returned Value
0, if no error.
-1, otherwise.
, multiple selections available,
Related content
accept TCP
accept TCP
More like this
socket TCP UDP
socket TCP UDP
More like this
bind TCP UDP
bind TCP UDP
More like this
NetSock_Listen
NetSock_Listen
More like this
Socket Programming
Socket Programming
More like this
send / sendto TCP UDP
send / sendto TCP UDP
More like this