GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCTP_PEELOFF(2) FreeBSD System Calls Manual SCTP_PEELOFF(2)

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

Standard C Library (libc, -lc)

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>

int
sctp_peeloff(int s, sctp_assoc_t id);

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

The call returns -1 on failure and the new socket descriptor upon success.

The sctp_peeloff() system call can return the following errors:
[]
The id given to the call does not map to a valid association.
[]
The size of the address list exceeds the amount of data provided.
[]
The argument s is not a valid descriptor.
[]
The argument s is not a socket.

sctp(4)
October 30, 2007 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.