1socket_sctp6b(3)           Library Functions Manual           socket_sctp6b(3)
2
3
4

NAME

6       socket_sctp6b - create a blocking IPv6 SCTP/IP stream socket
7

SYNTAX

9       #include <socket.h>
10
11       int socket_sctp6b();
12

DESCRIPTION

14       socket_sctp6b creates a blocking IPv6 SCTP/IP stream socket and returns
15       a file descriptor pointing to that socket.  If  something  goes  wrong,
16       socket_sctp6b returns -1, setting errno appropriately, without allocatā€
17       ing any resources.
18
19

EXAMPLE

21         #include <socket.h>
22
23         int s;
24         char ip[16];
25         uint16 p;
26
27         s = socket_sctp6b();
28         socket_bind6(s,ip,p);
29         socket_connect6(s,ip,p,0);
30
31

SEE ALSO

33       socket_sctp6(3), socket_bind4(3), socket_bind6(3)
34
35
36
37                                                              socket_sctp6b(3)
Impressum