Function netio_connect_domain
Defined in File netio.c
Function Documentation
-
void netio_connect_domain(struct netio_send_socket *socket, const char *hostname, unsigned port, struct netio_domain *domain)
Connect an unbuffered send socket to a remote endpoint.
- Parameters:
socket – An unbuffered send socket
hostname – Hostname or IP address of the remote endpoint
port – Port of the remote endpoint
domain – an already existing and initialized netio_domain that this connect will use instead of creating its own Obviously this can only work if the socket’s actual domain (physical NIC) would refer to the same as domain’s