Function netio_publish_tcp_socket_init

Function Documentation

void netio_publish_tcp_socket_init(struct netio_publish_socket *socket, struct netio_context *ctx, const char *hostname, unsigned port, struct netio_buffered_socket_attr *attr)

Initializes a buffered publish socket but with tcp instead if libfabric.

See also

netio_buffered_send_socket_init for a description of the connection parameters

Parameters:
  • socket – The buffered publish socket to initialize

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

  • hostname – Hostname or IP address to bind to

  • port – Port to bind to

  • attr – Buffered connection settings to be used for the underlying connections