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_GETASSOCID(3) FreeBSD Library Functions Manual SCTP_GETASSOCID(3)

sctp_getassocid
return an association id for a specified socket address

Standard C Library (libc, -lc)

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

sctp_assoc_t
sctp_getassocid(int s, struct sockaddr *addr);

The sctp_getassocid() call attempts to look up the specified socket address addr and find the respective association identification.

The call returns the association id upon success and 0 is returned upon failure.

The sctp_getassocid() function can return the following errors:
[]
The address does not have an association setup to it.
[]
The argument s is not a valid descriptor.
[]
The argument s is not a socket.

sctp(4)
December 15, 2006 FreeBSD 13.1-RELEASE

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

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