Lines Matching +full:data +full:- +full:only

22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
70 function is used to transmit a message whose data is gathered from the
74 may be used to send data to an existing association for both
75 one-to-many (SOCK_SEQPACKET) and one-to-one (SOCK_STREAM) socket types.
85 -1 is returned, and
90 Locally detected errors are indicated by a return value of -1.
96 non-blocking I/O mode.
100 send more data on one-to-one type (SOCK_STREAM) sockets.
106 .Bd -literal
109 uint16_t sinfo_ssn; /* valid for recv only */
113 uint32_t sinfo_timetolive; /* timetolive for PR-SCTP */
114 uint32_t sinfo_tsn; /* valid for recv only */
115 uint32_t sinfo_cumtsn; /* valid for recv only */
121 .Fa sinfo->sinfo_ppid
130 .Fa sinfo->sinfo_flags
132 .Bd -literal
135 #define SCTP_UNORDERED 0x0400 /* Message is un-ordered */
136 #define SCTP_ADDR_OVER 0x0800 /* Override the primary-address */
139 /* The lower byte is an enumeration of PR-SCTP policies */
140 #define SCTP_PR_SCTP_TTL 0x0001 /* Time based PR-SCTP */
141 #define SCTP_PR_SCTP_BUF 0x0002 /* Buffer based PR-SCTP */
142 #define SCTP_PR_SCTP_RTX 0x0003 /* Number of retransmissions based PR-SCTP */
150 remaining data in queue will be sent after which the association
170 SCTP will use only one of a multi-homed peers addresses as the primary
174 argument is, this primary address is used to send data.
177 and instead use the specified address not only as a lookup mechanism
180 For a one-to-many type (SOCK_SEQPACKET) socket the flag
184 Note that this mechanism is quite efficient and makes only one actual
185 copy of the data which is shared by all the associations for sending.
188 and will only be effective if the peer endpoint supports this extension.
190 in skipping data.
191 If none of these options are set, then data is
196 to the data.
198 .Fa sinfo->sinfo_timetolive
199 argument is then a number of milliseconds for which the data is
202 and the peer has not acknowledged the data, the data will be
205 not even assure that the data will ever be sent.
207 with large amounts of data being queued, the
208 .Fa sinfo->sinfo_timetolive
214 .Fa sinfo->sinfo_timetolive
218 other buffer-based sends are looked to be removed and
220 Note that this policy may also result in the data
229 .Fa sinfo->sinfo_timetolive
233 made of the data.
235 .Fa sinfo->sinfo_timetolive
236 retransmissions will be made before the data is skipped.
238 .Fa sinfo->sinfo_stream
245 .Fa sinfo->sinfo_assoc_id
247 select the association to send to on a one-to-many socket.
248 For a one-to-one socket, this field is ignored.
251 .Fa sinfo->sinfo_context
252 field is used only in the event the message cannot be sent.
258 specific data structure when a send cannot be fulfilled.
267 .Fa sinfo->sinfo_ssn ,
268 .Fa sinfo->sinfo_tsn ,
270 .Fa sinfo->sinfo_cumtsn
271 are used only when receiving messages and are thus ignored by
287 Note that all of the addresses will only be used
296 .Fa sinfo->sinfo_assoc_id
308 Firstly, the data to be written is passed as an array containing
346 .Bd -literal
371 .Bd -literal
393 .Bd -literal
395 uint16_t pr_policy; /* PR-SCTP policy */
396 uint32_t pr_value; /* PR-SCTP Policy option */
425 .Bd -literal
441 to indicate which fields of the struct contain valid data.
450 should be set to the length of the data structure pointed to by
453 The call returns the number of characters sent, or -1
460 .Bl -tag -width Er
473 The socket is marked non-blocking and the requested operation
485 On a one-to-one style socket no association exists.
488 attempting to send data to the peer.
490 On a one-to-many style socket no address is specified
492 SCTP_ABORT flag was specified on a non-existing association.
494 The socket is unable to send anymore data
498 is not connected and is a one-to-one style socket.
535 select on write will only work for a one-to-one style