ixp_dial(3)

ixp_dial3

Usage

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

Parameters

address

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

Overview

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.

Return value

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

Releases

Unchanged in 4 releases since Debian 8 (Jessie).

  1. 8–11

From libixp-dev 0.6~20121202+hg148-5 in Debian 11 (Bullseye). Parsed by carta from the page's man source.