Lines Matching +full:one +full:- +full:to +full:- +full:one
13 .\" may be used to endorse or promote products derived from this software
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
43 .Fa "int s" "const void *msg" "size_t len" "const struct sockaddr *to"
49 .Fa "int s" "const void *msg" "size_t len" "const struct sockaddr *to"
57 is used to transmit a message to another SCTP endpoint.
61 If the socket is a one-to-many type (SOCK_SEQPACKET)
62 socket then an attempt to send to an address that no association exists to will
65 the data being sent on the third leg of the SCTP four-way handshake.
67 the socket is a one-to-one type (SOCK_STREAM) socket then an association must
75 on a non-connected one-to-one socket will result in
77 being set to
79 -1 being returned, and the message not being transmitted.
82 .Fa to
90 If the message is too long to pass atomically through the
93 is set to
95 -1 is returned, and
98 No indication of failure to deliver is implicit in a
101 Locally detected errors are indicated by a return value of -1.
103 If no space is available at the socket to hold
104 the message to be transmitted, then
107 non-blocking I/O mode.
110 system call may be used to determine when it is possible to
111 send more data on one-to-one type (SOCK_STREAM) sockets.
116 through the stack to the peer endpoint.
120 Note that the stack passes this value without regard to byte
125 argument may include one or more of the following:
126 .Bd -literal
128 #define SCTP_ABORT 0x0200 /* Send an ABORT to peer */
129 #define SCTP_UNORDERED 0x0400 /* Message is un-ordered */
130 #define SCTP_ADDR_OVER 0x0800 /* Override the primary-address */
133 /* The lower byte is an enumeration of PR-SCTP policies */
134 #define SCTP_PR_SCTP_TTL 0x0001 /* Time based PR-SCTP */
135 #define SCTP_PR_SCTP_BUF 0x0002 /* Buffer based PR-SCTP */
136 #define SCTP_PR_SCTP_RTX 0x0003 /* Number of retransmissions based PR-SCTP */
141 is used to instruct the SCTP stack to queue this message
148 is used to immediately terminate an association.
150 is sent to the peer and the local TCB is destroyed.
153 is used to specify that the message being sent has no
154 specific order and should be delivered to the peer application
158 respect to order to peer streams.
162 is used to specify that an specific address should be used.
164 SCTP will use only one of a multi-homed peers addresses as the primary
165 address to send to.
167 .Fa to
168 argument is, this primary address is used to send data.
170 this flag, the user is asking the stack to ignore the primary address
172 to find the association but also as the actual address to send to.
174 For a one-to-many type (SOCK_SEQPACKET) socket the flag
176 can be used as a convenient way to make one send call and have
178 Note that this mechanism is quite efficient and makes only one actual
189 is used to indicate that a time based lifetime is being applied
194 attempted to be transmitted.
212 other buffer based sends are looked to be removed and
224 into a number of retransmissions to allow.
226 always assures that at a minimum one send attempt is
233 is the SCTP stream that you wish to send the
241 value that the stack retains and will give to the user when a failed send
244 Normally a user process can use this value to index some application
247 is identical to
251 .Fa to
256 caller to implicitly set up an association passing multiple addresses
259 had been called to set up the association.
261 The call returns the number of characters sent, or -1
268 .Bl -tag -width Er
279 and the size of the message to be sent made this impossible.
281 The socket is marked non-blocking and the requested operation
284 The system was unable to allocate an internal buffer.
293 On a one-to-one style socket no association exists.
296 attempting to send data to the peer.
298 On a one-to-many style socket no address is specified
301 flag was specified on a non-existing association.
303 The socket is unable to send anymore data
307 is not connected and is a one-to-one style socket.
320 Because in the one-to-many style socket
324 may have multiple associations under one endpoint, a
325 select on write will only work for a one-to-one style