Ixp_dial, ixp_announce
#include <ixp.h> int ixp_dial(const char *address); int ixp_announce(const char *address);
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.