sctp_peeloff man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

SCTP_PEELOFF(2)		    BSD System Calls Manual	       SCTP_PEELOFF(2)

NAME
     sctp_peeloff — detach an association from a one-to-many socket to its own
     fd

LIBRARY
     Standard 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);

DESCRIPTION
     The sctp_peeloff() system call attempts detach the association specified
     by id into its own separate socket.

RETURN VALUES
     The call returns -1 on failure and the new socket descriptor upon suc‐
     cess.

ERRORS
     The sctp_peeloff() system call can return the following errors:

     [ENOTCONN]		The id given to the call does not map to a valid asso‐
			ciation.

     [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 ALSO
     sctp(4)

BSD			       October 30, 2007				   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net