Lines Matching +full:multi +full:- +full:socket

35 .Nd send a message from an SCTP socket
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.
92 If no space is available at the socket to hold
95 normally blocks, unless the socket has been placed in
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
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 */
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.
198 .Fa sinfo->sinfo_timetolive
208 .Fa sinfo->sinfo_timetolive
214 .Fa sinfo->sinfo_timetolive
218 other buffer-based sends are looked to be removed and
229 .Fa sinfo->sinfo_timetolive
235 .Fa sinfo->sinfo_timetolive
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
267 .Fa sinfo->sinfo_ssn ,
268 .Fa sinfo->sinfo_tsn ,
270 .Fa sinfo->sinfo_cumtsn
285 argument indicating how many socket addresses are in the passed
296 .Fa sinfo->sinfo_assoc_id
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
453 The call returns the number of characters sent, or -1
460 .Bl -tag -width Er
466 is not a socket.
470 The socket requires that message be sent atomically,
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.
494 The socket is unable to send anymore data
496 has been set on the socket).
497 This typically means that the socket
498 is not connected and is a one-to-one style socket.
513 .Xr socket 2 ,
535 select on write will only work for a one-to-one style
536 socket.