Function netio_listen
Defined in File netio.c
Function Documentation
-
void netio_listen(struct netio_listen_socket *socket, const char *hostname, unsigned port)
Bind an unbuffered listen socket to an endpoint and listen for incoming connections.
- Parameters:
socket – An unbuffered listen socket
hostname – Hostname or IP address of an endpoint
port – A port number to listen on