Lines Matching +full:message +full:- +full:based

35 .Nd send a message from an SCTP socket
62 is used to transmit a message to another SCTP endpoint.
70 function is used to transmit a message whose data is gathered from the
75 one-to-many (SOCK_SEQPACKET) and one-to-one (SOCK_STREAM) socket types.
76 The length of the message
80 If the message is too long to pass atomically through the
85 -1 is returned, and
86 the message is not transmitted.
90 Locally detected errors are indicated by a return value of -1.
93 the message to be transmitted, then
96 non-blocking I/O mode.
100 send more data on one-to-one type (SOCK_STREAM) sockets.
106 .Bd -literal
113 uint32_t sinfo_timetolive; /* timetolive for PR-SCTP */
121 .Fa sinfo->sinfo_ppid
124 It will be available on reception of a message (see
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 */
147 is used to instruct the SCTP stack to queue this message
159 is used to specify that the message being sent has no
170 SCTP will use only one of a multi-homed peers addresses as the primary
180 For a one-to-many type (SOCK_SEQPACKET) socket the flag
183 all associations that are under the socket get a copy of the message.
195 is used to indicate that a time based lifetime is being applied
198 .Fa sinfo->sinfo_timetolive
208 .Fa sinfo->sinfo_timetolive
213 based policy transforms the
214 .Fa sinfo->sinfo_timetolive
218 other buffer-based sends are looked to be removed and
221 never being sent if no buffer based sends are in queue and
229 .Fa sinfo->sinfo_timetolive
235 .Fa sinfo->sinfo_timetolive
238 .Fa sinfo->sinfo_stream
240 message on.
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.
267 .Fa sinfo->sinfo_ssn ,
268 .Fa sinfo->sinfo_tsn ,
270 .Fa sinfo->sinfo_cumtsn
296 .Fa sinfo->sinfo_assoc_id
346 .Bd -literal
371 .Bd -literal
380 message.
393 .Bd -literal
395 uint16_t pr_policy; /* PR-SCTP policy */
396 uint32_t pr_value; /* PR-SCTP Policy option */
425 .Bd -literal
453 The call returns the number of characters sent, or -1
460 .Bl -tag -width Er
470 The socket requires that message be sent atomically,
471 and the size of the message to be sent made this impossible.
473 The socket is marked non-blocking and the requested operation
485 On a one-to-one style socket no association exists.
490 On a one-to-many style socket no address is specified
492 SCTP_ABORT flag was specified on a non-existing association.
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