sctp_connectx.3 (7c3768006d0adbe052143f13f0d969f422c9fd3e) sctp_connectx.3 (16c90ceeb35fa6183bb1348c38c30d5f13a5be17)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 35 unchanged lines hidden (view full) ---

44.In sys/socket.h
45.In netinet/sctp.h
46.Ft int
47.Fn sctp_connectx "int s" "struct sockaddr *" "int addrcnt"
48.Sh DESCRIPTION
49The
50.Fn sctp_connectx
51call attempts to initiate an association to a peer SCTP
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 35 unchanged lines hidden (view full) ---

44.In sys/socket.h
45.In netinet/sctp.h
46.Ft int
47.Fn sctp_connectx "int s" "struct sockaddr *" "int addrcnt"
48.Sh DESCRIPTION
49The
50.Fn sctp_connectx
51call attempts to initiate an association to a peer SCTP
52endpoint. The call operates similarly to
52endpoint.
53The call operates similarly to
53.Fn connect
54but it also provides the ability to specify multiple destination
54.Fn connect
55but it also provides the ability to specify multiple destination
55addresses for the peer. This allows a fault tolerant method
56of initiating an association. When one of the peers addresses
56addresses for the peer.
57This allows a fault tolerant method
58of initiating an association.
59When one of the peers addresses
57is unreachable, the subsequent listed addresses will also be used
60is unreachable, the subsequent listed addresses will also be used
58to setup the association with the peer.
61to set up the association with the peer.
59.Pp
60The user also needs to consider that any address listed in an
61.Fn sctp_connectx
62.Pp
63The user also needs to consider that any address listed in an
64.Fn sctp_connectx
62call is also consider "confirmed".
65call is also considered "confirmed".
63A confirmed address is one in
64which the SCTP transport will trust is a part of the association
65and it will not send a confirmation heartbeat to it with
66a random nonce.
67.Pp
68If the peer SCTP stack does not list one or more of
69the provided addresses in its response message then
70the extra addresses sent in the

--- 17 unchanged lines hidden (view full) ---

88.Fa s
89is not a valid descriptor.
90.It Bq Er ENOTSOCK
91The argument
92.Fa s
93is not a socket.
94.El
95.Sh SEE ALSO
66A confirmed address is one in
67which the SCTP transport will trust is a part of the association
68and it will not send a confirmation heartbeat to it with
69a random nonce.
70.Pp
71If the peer SCTP stack does not list one or more of
72the provided addresses in its response message then
73the extra addresses sent in the

--- 17 unchanged lines hidden (view full) ---

91.Fa s
92is not a valid descriptor.
93.It Bq Er ENOTSOCK
94The argument
95.Fa s
96is not a socket.
97.El
98.Sh SEE ALSO
96.Xr sctp 4 ,
97.Xr connect 2 ,
99.Xr connect 2 ,
98
100.Xr sctp 4