Query: sctp_getassocid
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCTP_GETASSOCID(3) BSD Library Functions Manual SCTP_GETASSOCID(3)NAMEsctp_getassocid -- return an association id for a specified socket address.LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> sctp_assoc_t sctp_getassocid(int s, struct sockaddr *addr);DESCRIPTIONThe sctp_getassocid() call attempts to look up the specified socket address addr and find the respective association identification.RETURN VALUESThe call returns the association id upon success and 0 is returned upon failure.ERRORSThe sctp_getassocid() function can return the following errors: [ENOENT] The address does not have an association setup to it. [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is not a socket.SEE ALSOsctp(4)BSDDecember 15, 2006 BSD
Related Man Pages |
---|
sctp_getpaddrs(3) - debian |
sctp_connectx(3) - freebsd |
sctp_peeloff(3socket) - opensolaris |
sctp_getpaddrs(3) - freebsd |
sctp_peeloff(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick |
A simple UNIXtime component in Vue.js |
Reason for no directory creation date |
Valid separator in time and date format |
Controlling user input |