Function netio_buffered_listen

Function Documentation

void netio_buffered_listen(struct netio_buffered_listen_socket *socket, const char *hostname, unsigned port)

Bind the listen socket to an interface and port number and bring the listen socket to ‘listening’ state.

Parameters:
  • socket – The buffered listen socket

  • hostname – A hostname, typically an IP address, which identifies the interface on which to bind

  • port – The port name to listen on