Function netio_connect_rawaddr_domain

Function Documentation

void netio_connect_rawaddr_domain(struct netio_send_socket *socket, void *addr, size_t addrlen, struct netio_domain *domain)

Same as netio_connect_domain but using the ip address and port

Parameters:
  • socket – An unbuffered send socket

  • addr – IP and port of the remote endpoint

  • addrlen – lenght of the address

  • 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