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.