Function netio_buffered_send_socket_init

Function Documentation

void netio_buffered_send_socket_init(struct netio_buffered_send_socket *socket, struct netio_context *ctx, struct netio_buffered_socket_attr *attr)

Initializes a buffered send socket.

Parameters:
  • socket – The socket to initialize

  • ctx – The NetIO context object in which to initialize the socket

  • attr – Buffer attributes of the socket. Attributes need to match on the sending and receiving side of a socket