DOKK / manpages / debian 10 / libixp-dev / ixp_dial.3.en
IXP_DIAL(3) Library Functions Manual IXP_DIAL(3)

ixp_dial, ixp_announce

#include <ixp.h>
int ixp_dial(const char *address);
int ixp_announce(const char *address);

An address on which to connect or listen, specified in the Plan 9 resources specification format (<protocol>!address[!<port>])

These functions hide some of the ugliness of Berkely Sockets. ixp_dial connects to the resource at address, while ixp_announce begins listening on address.

These functions return file descriptors on success, and -1 on failure. ixp_errbuf(3) may be inspected on failure.

socket(2)

2012 Dec libixp Manual