Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition)

9.6 sctp_freepaddrs Function

The sctp_freepaddrs function frees resources allocated by the sctp_getpaddrs function. It is called as follows :

#include <netinet/sctp.h>

void sctp_freepaddrs(struct sockaddr * addrs );

addrs is the pointer to the array of addresses returned by sctp_getpaddrs .

Категории