UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API

Addison Wesley

نسخه متنی -صفحه : 450/ 143
نمايش فراداده

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.