---
name: "ixp_dial"
section: "3"
platform: "linux"
package: "libixp-dev"
version: "0.6~20121202+hg148-5"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/ixp_dial"
---

# ixp\_dial(3)

## NAME

ixp\_dial, ixp\_announce

## SYNOPSIS

```
#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\>\]*)

## DESCRIPTION

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)](/ixp_errbuf/3.md) may be inspected on failure.

## SEE ALSO

[socket(2)](/socket/2.md)
