|
NAMEsctp_opt_info —
get SCTP socket information
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
int
DESCRIPTIONThesctp_opt_info () call provides a multi-os compatible
method for getting specific getsockopt () data where an
association identification needs to be passed into the operating system. For
FreeBSD a direct getsockopt ()
may be used, since FreeBSD has the ability to pass
information into the operating system on a
getsockopt () call. Other operating systems may not
have this ability. For those who wish to write portable code amongst multiple
operating systems this call should be used for the following SCTP socket
options.
RETURN VALUESThe call returns 0 on success and -1 upon error.ERRORSThesctp_opt_info () function can return the following
errors:
SEE ALSOgetsockopt(2), sctp(4)BUGSBecause the structure used for arg of theSCTP_MAX_BURST socket option has changed in FreeBSD
9.0 and higher, using SCTP_MAX_BURST as
opt is only supported in FreeBSD 9.0 and higher.
Visit the GSP FreeBSD Man Page Interface. |