| SCTP_GETASSOCID(3) | Library Functions Manual | SCTP_GETASSOCID(3) | 
sctp_getassocid —
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
sctp_assoc_t
  
  sctp_getassocid(int
    s, struct sockaddr
    *addr);
sctp_getassocid() call attempts to look up the
  specified socket address addr and find the respective
  association identification.
sctp_getassocid() function can return the following
  errors:
Sockets API Extensions for the Stream Control Transmission Protocol (SCTP), RFC, 6458, December 2011.
| August 1, 2018 | NetBSD 9.4 |