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

9.8 sctp_freeladdrs Function

The sctp_freeladdrs function frees resources allocated by the sctp_getladdrs function. It is called as follows :

#include <netinet/sctp.h>

void sctp_freeladdrs(struct sockaddr * addrs );

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

Категории