libdill: Structured Concurrency for C

NAME

ipaddr_port - returns port part of the address

SYNOPSIS

int ipaddr_port(const struct ipaddr *addr);

DESCRIPTION

Returns port part of the address.

RETURN VALUE

The port number.

ERRORS

No errors.

EXAMPLE

int port = ipaddr_port(&addr);