tail head cat sleep
QR code linking to this page

Manual Pages  — SCTP_PEELOFF

NAME

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

CONTENTS

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 success.

ERRORS

The 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 ALSO

sctp(4)

SCTP_PEELOFF (2) October 30, 2007

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual).
— The Unix Haters' handbook