Query: sctp_peeloff
OS: freebsd
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCTP_PEELOFF(2) BSD System Calls Manual SCTP_PEELOFF(2)NAMEsctp_peeloff -- detach an association from a one-to-many socket to its own fdLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> int sctp_peeloff(int s, sctp_assoc_t id);DESCRIPTIONThe sctp_peeloff() system call attempts detach the association specified by id into its own separate socket.RETURN VALUESThe call returns -1 on failure and the new socket descriptor upon success.ERRORSThe sctp_peeloff() system call can return the following errors: [ENOTCONN] The id given to the call does not map to a valid association. [E2BIG] The size of the address list exceeds the amount of data provided. [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is not a socket.SEE ALSOsctp(4)BSDOctober 30, 2007 BSD
| Related Man Pages |
|---|
| sctp_generic_recvmsg(2) - debian |
| sctp_opt_info(3) - debian |
| sctp_getpaddrs(3) - debian |
| sctp_peeloff(3socket) - sunos |
| sctp_generic_recvmsg(2) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| Mac OS X: Based on UNIX - Solid As a Rock |
| The Whole Story on #! /usr/bin/ksh |
| Memory Leaks |
| Controlling user input |