The sctp_freepaddrs() function frees all of the resources that were allocated by a previous call to the sctp_getpaddrs(). The syntax for the sctp_freepaddrs() function is as follows:
void sctp_freepaddrs(void *addrs);The *addrs parameter is an array that contains the peer addresses that are returned by the sctp_getpaddrs() function.