Function netio_unbuffered_publish_socket_init

Function Documentation

void netio_unbuffered_publish_socket_init(struct netio_unbuffered_publish_socket *socket, struct netio_context *ctx, const char *hostname, unsigned port, struct netio_buffer *buf)

Initialize an unbuffered publish socket

Parameters:
  • socket – An unbuffered publish socket

  • ctx – A netio context

  • hostname – Local hostname to bind to

  • port – Local port to bind to

  • buf – A registered send buffer