| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:42+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "send" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2025-10-29" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "send, sendto, sendmsg - send a message on a socket" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<ssize_t send(>size_t size;\n" |
| 85 |
"B< int >I<sockfd>B<, const void >I<buf>B<[>I<size>B<], size_t >I<size>B<, int >I<flags>B<);>\n" |
| 86 |
"B<ssize_t sendto(>size_t size;\n" |
| 87 |
"B< int >I<sockfd>B<, const void >I<buf>B<[>I<size>B<], size_t >I<size>B<, int >I<flags>B<,>\n" |
| 88 |
"B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n" |
| 89 |
"B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 90 |
msgstr "" |
| 91 |
|
| 92 |
#. type: SH |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
#, no-wrap |
| 96 |
msgid "DESCRIPTION" |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "" |
| 103 |
"The system calls B<send>(), B<sendto>(), and B<sendmsg>() are used to " |
| 104 |
"transmit a message to another socket." |
| 105 |
msgstr "" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"The B<send>() call may be used only when the socket is in a I<connected> " |
| 112 |
"state (so that the intended recipient is known). The only difference " |
| 113 |
"between B<send>() and B<write>(2) is the presence of I<flags>. With a " |
| 114 |
"zero I<flags> argument, B<send>() is equivalent to B<write>(2). Also, the " |
| 115 |
"following call" |
| 116 |
msgstr "" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 120 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
#, no-wrap |
| 122 |
msgid "send(sockfd, buf, size, flags);\n" |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "is equivalent to" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 133 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
#, no-wrap |
| 135 |
msgid "sendto(sockfd, buf, size, flags, NULL, 0);\n" |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "The argument I<sockfd> is the file descriptor of the sending socket." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"If B<sendto>() is used on a connection-mode (B<SOCK_STREAM>, " |
| 149 |
"B<SOCK_SEQPACKET>) socket, the arguments I<dest_addr> and I<addrlen> are " |
| 150 |
"ignored (and the error B<EISCONN> may be returned when they are not NULL and " |
| 151 |
"0), and the error B<ENOTCONN> is returned when the socket was not actually " |
| 152 |
"connected. Otherwise, the address of the target is given by I<dest_addr> " |
| 153 |
"with I<addrlen> specifying its size. For B<sendmsg>(), the address of the " |
| 154 |
"target is given by I<msg.msg_name>, with I<msg.msg_namelen> specifying its " |
| 155 |
"size." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 160 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"For B<send>() and B<sendto>(), the message is found in I<buf> and has size " |
| 163 |
"I<size>. For B<sendmsg>(), the message is pointed to by the elements of the " |
| 164 |
"array I<msg.msg_iov>. The B<sendmsg>() call also allows sending ancillary " |
| 165 |
"data (also known as control information)." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"If the message is too long to pass atomically through the underlying " |
| 173 |
"protocol, the error B<EMSGSIZE> is returned, and the message is not " |
| 174 |
"transmitted." |
| 175 |
msgstr "" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"No indication of failure to deliver is implicit in a B<send>(). Locally " |
| 182 |
"detected errors are indicated by a return value of -1." |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "" |
| 189 |
"When the message does not fit into the send buffer of the socket, B<send>() " |
| 190 |
"normally blocks, unless the socket has been placed in nonblocking I/O mode. " |
| 191 |
"In nonblocking mode it would fail with the error B<EAGAIN> or B<EWOULDBLOCK> " |
| 192 |
"in this case. The B<select>(2) call may be used to determine when it is " |
| 193 |
"possible to send more data." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: SS |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "The flags argument" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. FIXME . ? document MSG_PROXY (which went away in Linux 2.3.15) |
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"The I<flags> argument is the bitwise OR of zero or more of the following " |
| 209 |
"flags." |
| 210 |
msgstr "" |
| 211 |
|
| 212 |
#. type: TP |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "B<MSG_CONFIRM> (since Linux 2.3.15)" |
| 217 |
msgstr "" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"Tell the link layer that forward progress happened: you got a successful " |
| 224 |
"reply from the other side. If the link layer doesn't get this it will " |
| 225 |
"regularly reprobe the neighbor (e.g., via a unicast ARP). Valid only on " |
| 226 |
"B<SOCK_DGRAM> and B<SOCK_RAW> sockets and currently implemented only for " |
| 227 |
"IPv4 and IPv6. See B<arp>(7) for details." |
| 228 |
msgstr "" |
| 229 |
|
| 230 |
#. type: TP |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
#, no-wrap |
| 234 |
msgid "B<MSG_DONTROUTE>" |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
msgid "" |
| 241 |
"Don't use a gateway to send out the packet, send to hosts only on directly " |
| 242 |
"connected networks. This is usually used only by diagnostic or routing " |
| 243 |
"programs. This is defined only for protocol families that route; packet " |
| 244 |
"sockets don't." |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
#. type: TP |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "B<MSG_DONTWAIT> (since Linux 2.2)" |
| 252 |
msgstr "" |
| 253 |
|
| 254 |
#. type: Plain text |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
msgid "" |
| 258 |
"Enables nonblocking operation; if the operation would block, B<EAGAIN> or " |
| 259 |
"B<EWOULDBLOCK> is returned. This provides similar behavior to setting the " |
| 260 |
"B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but differs " |
| 261 |
"in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> is a " |
| 262 |
"setting on the open file description (see B<open>(2)), which will affect all " |
| 263 |
"threads in the calling process as well as other processes that hold file " |
| 264 |
"descriptors referring to the same open file description." |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: TP |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "B<MSG_EOR> (since Linux 2.2)" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "" |
| 278 |
"Terminates a record (when this notion is supported, as for sockets of type " |
| 279 |
"B<SOCK_SEQPACKET>)." |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: TP |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "B<MSG_MORE> (since Linux 2.4.4)" |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "" |
| 293 |
"The caller has more data to send. This flag is used with TCP sockets to " |
| 294 |
"obtain the same effect as the B<TCP_CORK> socket option (see B<tcp>(7)), " |
| 295 |
"with the difference that this flag can be set on a per-call basis." |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
msgid "" |
| 302 |
"Since Linux 2.6, this flag is also supported for UDP sockets, and informs " |
| 303 |
"the kernel to package all of the data sent in calls with this flag set into " |
| 304 |
"a single datagram which is transmitted only when a call is performed that " |
| 305 |
"does not specify this flag. (See also the B<UDP_CORK> socket option " |
| 306 |
"described in B<udp>(7).)" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: TP |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
#, no-wrap |
| 313 |
msgid "B<MSG_NOSIGNAL> (since Linux 2.2)" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "" |
| 320 |
"Don't generate a B<SIGPIPE> signal if the peer on a stream-oriented socket " |
| 321 |
"has closed the connection. The B<EPIPE> error is still returned. This " |
| 322 |
"provides similar behavior to using B<sigaction>(2) to ignore B<SIGPIPE>, " |
| 323 |
"but, whereas B<MSG_NOSIGNAL> is a per-call feature, ignoring B<SIGPIPE> sets " |
| 324 |
"a process attribute that affects all threads in the process." |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. type: TP |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<MSG_OOB>" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"Sends I<out-of-band> data on sockets that support this notion (e.g., of type " |
| 339 |
"B<SOCK_STREAM>); the underlying protocol must also support I<out-of-band> " |
| 340 |
"data." |
| 341 |
msgstr "" |
| 342 |
|
| 343 |
#. type: TP |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "B<MSG_FASTOPEN> (since Linux 3.7)" |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"Attempts TCP Fast Open (RFC7413) and sends data in the SYN like a " |
| 355 |
"combination of B<connect>(2) and B<write>(2), by performing an implicit " |
| 356 |
"B<connect>(2) operation. It blocks until the data is buffered and the " |
| 357 |
"handshake has completed. For a non-blocking socket, it returns the number " |
| 358 |
"of bytes buffered and sent in the SYN packet. If the cookie is not " |
| 359 |
"available locally, it returns B<EINPROGRESS>, and sends a SYN with a Fast " |
| 360 |
"Open cookie request automatically. The caller needs to write the data again " |
| 361 |
"when the socket is connected. On errors, it sets the same I<errno> as " |
| 362 |
"B<connect>(2) if the handshake fails. This flag requires enabling TCP Fast " |
| 363 |
"Open client support on sysctl I<net.ipv4.tcp_fastopen>." |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "" |
| 370 |
"Refer to B<TCP_FASTOPEN_CONNECT> socket option in B<tcp>(7) for an " |
| 371 |
"alternative approach." |
| 372 |
msgstr "" |
| 373 |
|
| 374 |
#. type: SS |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "sendmsg()" |
| 379 |
msgstr "" |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
msgid "" |
| 385 |
"The definition of the I<msghdr> structure employed by B<sendmsg>() is as " |
| 386 |
"follows:" |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 391 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
#, no-wrap |
| 393 |
msgid "" |
| 394 |
"struct msghdr {\n" |
| 395 |
" void *msg_name; /* Optional address */\n" |
| 396 |
" socklen_t msg_namelen; /* Size of address */\n" |
| 397 |
" struct iovec *msg_iov; /* Scatter/gather array */\n" |
| 398 |
" size_t msg_iovlen; /* # elements in msg_iov */\n" |
| 399 |
" void *msg_control; /* Ancillary data, see below */\n" |
| 400 |
" size_t msg_controllen; /* Ancillary data buffer size */\n" |
| 401 |
" int msg_flags; /* Flags (unused) */\n" |
| 402 |
"};\n" |
| 403 |
msgstr "" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
msgid "" |
| 409 |
"The I<msg_name> field is used on an unconnected socket to specify the target " |
| 410 |
"address for a datagram. It points to a buffer containing the address; the " |
| 411 |
"I<msg_namelen> field should be set to the size of the address. For a " |
| 412 |
"connected socket, these fields should be specified as NULL and 0, " |
| 413 |
"respectively." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
msgid "" |
| 420 |
"The I<msg_iov> and I<msg_iovlen> fields specify scatter-gather locations, as " |
| 421 |
"for B<writev>(2)." |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 426 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
msgid "" |
| 428 |
"You may send control information (ancillary data) using the I<msg_control> " |
| 429 |
"and I<msg_controllen> members. The maximum control buffer size the kernel " |
| 430 |
"can process is limited per socket by the value in I</proc/sys/net/core/" |
| 431 |
"optmem_max>; see B<socket>(7). For further information on the use of " |
| 432 |
"ancillary data in various socket domains, see B<unix>(7) and B<ip>(7)." |
| 433 |
msgstr "" |
| 434 |
|
| 435 |
#. Still to be documented: |
| 436 |
#. Send file descriptors and user credentials using the |
| 437 |
#. msg_control* fields. |
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
msgid "The I<msg_flags> field is ignored." |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: SH |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "RETURN VALUE" |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
msgid "" |
| 455 |
"On success, these calls return the number of bytes sent. On error, -1 is " |
| 456 |
"returned, and I<errno> is set to indicate the error." |
| 457 |
msgstr "" |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "ERRORS" |
| 464 |
msgstr "" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
msgid "" |
| 470 |
"These are some standard errors generated by the socket layer. Additional " |
| 471 |
"errors may be generated and returned from the underlying protocol modules; " |
| 472 |
"see their respective manual pages." |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
#. type: TP |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
#, no-wrap |
| 479 |
msgid "B<EACCES>" |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"(For UNIX domain sockets, which are identified by pathname) Write " |
| 487 |
"permission is denied on the destination socket file, or search permission is " |
| 488 |
"denied for one of the directories the path prefix. (See " |
| 489 |
"B<path_resolution>(7).)" |
| 490 |
msgstr "" |
| 491 |
|
| 492 |
#. type: Plain text |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
msgid "" |
| 496 |
"(For UDP sockets) An attempt was made to send to a network/broadcast address " |
| 497 |
"as though it was a unicast address." |
| 498 |
msgstr "" |
| 499 |
|
| 500 |
#. type: TP |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
#, no-wrap |
| 504 |
msgid "B<EAGAIN> or B<EWOULDBLOCK>" |
| 505 |
msgstr "" |
| 506 |
|
| 507 |
#. Actually EAGAIN on Linux |
| 508 |
#. type: Plain text |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
msgid "" |
| 512 |
"The socket is marked nonblocking and the requested operation would block. " |
| 513 |
"POSIX.1-2001 allows either error to be returned for this case, and does not " |
| 514 |
"require these constants to have the same value, so a portable application " |
| 515 |
"should check for both possibilities." |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. type: TP |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "B<EAGAIN>" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
msgid "" |
| 529 |
"(Internet domain datagram sockets) The socket referred to by I<sockfd> had " |
| 530 |
"not previously been bound to an address and, upon attempting to bind it to " |
| 531 |
"an ephemeral port, it was determined that all port numbers in the ephemeral " |
| 532 |
"port range are currently in use. See the discussion of I</proc/sys/net/ipv4/" |
| 533 |
"ip_local_port_range> in B<ip>(7)." |
| 534 |
msgstr "" |
| 535 |
|
| 536 |
#. type: TP |
| 537 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 538 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 539 |
#, no-wrap |
| 540 |
msgid "B<EALREADY>" |
| 541 |
msgstr "" |
| 542 |
|
| 543 |
#. type: Plain text |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
msgid "Another Fast Open is in progress." |
| 547 |
msgstr "" |
| 548 |
|
| 549 |
#. type: TP |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, no-wrap |
| 553 |
msgid "B<EBADF>" |
| 554 |
msgstr "" |
| 555 |
|
| 556 |
#. type: Plain text |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
msgid "I<sockfd> is not a valid open file descriptor." |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: TP |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
#, no-wrap |
| 566 |
msgid "B<ECONNRESET>" |
| 567 |
msgstr "" |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "Connection reset by peer." |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: TP |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
#, no-wrap |
| 579 |
msgid "B<EDESTADDRREQ>" |
| 580 |
msgstr "" |
| 581 |
|
| 582 |
#. type: Plain text |
| 583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 585 |
msgid "The socket is not connection-mode, and no peer address is set." |
| 586 |
msgstr "" |
| 587 |
|
| 588 |
#. type: TP |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
#, no-wrap |
| 592 |
msgid "B<EFAULT>" |
| 593 |
msgstr "" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
msgid "An invalid user space address was specified for an argument." |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
#. type: TP |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
#, no-wrap |
| 605 |
msgid "B<EINTR>" |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
msgid "A signal occurred before any data was transmitted; see B<signal>(7)." |
| 612 |
msgstr "" |
| 613 |
|
| 614 |
#. type: TP |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
#, no-wrap |
| 618 |
msgid "B<EINVAL>" |
| 619 |
msgstr "" |
| 620 |
|
| 621 |
#. type: Plain text |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
msgid "Invalid argument passed." |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. type: TP |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
#, no-wrap |
| 631 |
msgid "B<EISCONN>" |
| 632 |
msgstr "" |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
msgid "" |
| 638 |
"The connection-mode socket was connected already but a recipient was " |
| 639 |
"specified. (Now either this error is returned, or the recipient " |
| 640 |
"specification is ignored.)" |
| 641 |
msgstr "" |
| 642 |
|
| 643 |
#. type: TP |
| 644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 646 |
#, no-wrap |
| 647 |
msgid "B<EMSGSIZE>" |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
#. (e.g., SOCK_DGRAM ) |
| 651 |
#. type: Plain text |
| 652 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 653 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 654 |
msgid "" |
| 655 |
"The socket type requires that message be sent atomically, and the size of " |
| 656 |
"the message to be sent made this impossible." |
| 657 |
msgstr "" |
| 658 |
|
| 659 |
#. type: TP |
| 660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
#, no-wrap |
| 663 |
msgid "B<ENOBUFS>" |
| 664 |
msgstr "" |
| 665 |
|
| 666 |
#. type: Plain text |
| 667 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 668 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 669 |
msgid "" |
| 670 |
"The output queue for a network interface was full. This generally indicates " |
| 671 |
"that the interface has stopped sending, but may be caused by transient " |
| 672 |
"congestion. (Normally, this does not occur in Linux. Packets are just " |
| 673 |
"silently dropped when a device queue overflows.)" |
| 674 |
msgstr "" |
| 675 |
|
| 676 |
#. type: TP |
| 677 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 678 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 679 |
#, no-wrap |
| 680 |
msgid "B<ENOMEM>" |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
#. type: Plain text |
| 684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 686 |
msgid "No memory available." |
| 687 |
msgstr "" |
| 688 |
|
| 689 |
#. type: TP |
| 690 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 691 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 692 |
#, no-wrap |
| 693 |
msgid "B<ENOTCONN>" |
| 694 |
msgstr "" |
| 695 |
|
| 696 |
#. type: Plain text |
| 697 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 698 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 699 |
msgid "The socket is not connected, and no target has been given." |
| 700 |
msgstr "" |
| 701 |
|
| 702 |
#. type: TP |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
#, no-wrap |
| 706 |
msgid "B<ENOTSOCK>" |
| 707 |
msgstr "" |
| 708 |
|
| 709 |
#. type: Plain text |
| 710 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 711 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 712 |
msgid "The file descriptor I<sockfd> does not refer to a socket." |
| 713 |
msgstr "" |
| 714 |
|
| 715 |
#. type: TP |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
#, no-wrap |
| 719 |
msgid "B<EOPNOTSUPP>" |
| 720 |
msgstr "" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
msgid "Some bit in the I<flags> argument is inappropriate for the socket type." |
| 726 |
msgstr "" |
| 727 |
|
| 728 |
#. type: TP |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
#, no-wrap |
| 732 |
msgid "B<EPIPE>" |
| 733 |
msgstr "" |
| 734 |
|
| 735 |
#. type: Plain text |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
msgid "" |
| 739 |
"The local end has been shut down on a connection oriented socket. In this " |
| 740 |
"case, the process will also receive a B<SIGPIPE> unless B<MSG_NOSIGNAL> is " |
| 741 |
"set." |
| 742 |
msgstr "" |
| 743 |
|
| 744 |
#. type: SH |
| 745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
#, no-wrap |
| 748 |
msgid "VERSIONS" |
| 749 |
msgstr "" |
| 750 |
|
| 751 |
#. glibc bug for msg_controllen raised 12 Mar 2006 |
| 752 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=2448 |
| 753 |
#. The problem is an underlying kernel issue: the size of the |
| 754 |
#. __kernel_size_t type used to type these fields varies |
| 755 |
#. across architectures, but socklen_t is always 32 bits, |
| 756 |
#. as (at least with GCC) is int. |
| 757 |
#. type: Plain text |
| 758 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 759 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 760 |
msgid "" |
| 761 |
"According to POSIX.1-2001, the I<msg_controllen> field of the I<msghdr> " |
| 762 |
"structure should be typed as I<socklen_t>, and the I<msg_iovlen> field " |
| 763 |
"should be typed as I<int>, but glibc currently types both as I<size_t>." |
| 764 |
msgstr "" |
| 765 |
|
| 766 |
#. type: SH |
| 767 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 768 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 769 |
#, no-wrap |
| 770 |
msgid "STANDARDS" |
| 771 |
msgstr "" |
| 772 |
|
| 773 |
#. type: Plain text |
| 774 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 775 |
#: opensuse-tumbleweed |
| 776 |
msgid "POSIX.1-2024." |
| 777 |
msgstr "" |
| 778 |
|
| 779 |
#. type: Plain text |
| 780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 782 |
msgid "B<MSG_CONFIRM> is a Linux extension." |
| 783 |
msgstr "" |
| 784 |
|
| 785 |
#. type: SH |
| 786 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 787 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 788 |
#, no-wrap |
| 789 |
msgid "HISTORY" |
| 790 |
msgstr "" |
| 791 |
|
| 792 |
#. type: Plain text |
| 793 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 794 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 795 |
msgid "4.4BSD, SVr4, POSIX.1-2001. (first appeared in 4.2BSD)." |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
msgid "" |
| 802 |
"POSIX.1-2001 describes only the B<MSG_OOB> and B<MSG_EOR> flags. " |
| 803 |
"POSIX.1-2008 adds a specification of B<MSG_NOSIGNAL>." |
| 804 |
msgstr "" |
| 805 |
|
| 806 |
#. type: SH |
| 807 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 808 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 809 |
#, no-wrap |
| 810 |
msgid "NOTES" |
| 811 |
msgstr "" |
| 812 |
|
| 813 |
#. type: Plain text |
| 814 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 815 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 816 |
msgid "" |
| 817 |
"See B<sendmmsg>(2) for information about a Linux-specific system call that " |
| 818 |
"can be used to transmit multiple datagrams in a single call." |
| 819 |
msgstr "" |
| 820 |
|
| 821 |
#. type: SH |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
#, no-wrap |
| 825 |
msgid "BUGS" |
| 826 |
msgstr "" |
| 827 |
|
| 828 |
#. type: Plain text |
| 829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 831 |
msgid "Linux may return B<EPIPE> instead of B<ENOTCONN>." |
| 832 |
msgstr "" |
| 833 |
|
| 834 |
#. type: SH |
| 835 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 836 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 837 |
#, no-wrap |
| 838 |
msgid "EXAMPLES" |
| 839 |
msgstr "" |
| 840 |
|
| 841 |
#. type: Plain text |
| 842 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 843 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 844 |
msgid "An example of the use of B<sendto>() is shown in B<getaddrinfo>(3)." |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
#. type: SH |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
#, no-wrap |
| 851 |
msgid "SEE ALSO" |
| 852 |
msgstr "" |
| 853 |
|
| 854 |
#. type: Plain text |
| 855 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 856 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 857 |
msgid "" |
| 858 |
"B<fcntl>(2), B<getsockopt>(2), B<recv>(2), B<select>(2), B<sendfile>(2), " |
| 859 |
"B<sendmmsg>(2), B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), " |
| 860 |
"B<ip>(7), B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)" |
| 861 |
msgstr "" |
| 862 |
|
| 863 |
#. type: TH |
| 864 |
#: debian-trixie |
| 865 |
#, no-wrap |
| 866 |
msgid "2024-05-02" |
| 867 |
msgstr "" |
| 868 |
|
| 869 |
#. type: TH |
| 870 |
#: debian-trixie |
| 871 |
#, no-wrap |
| 872 |
msgid "Linux man-pages 6.9.1" |
| 873 |
msgstr "" |
| 874 |
|
| 875 |
#. type: Plain text |
| 876 |
#: debian-trixie |
| 877 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 878 |
msgstr "" |
| 879 |
|
| 880 |
#. type: Plain text |
| 881 |
#: debian-trixie |
| 882 |
#, no-wrap |
| 883 |
msgid "" |
| 884 |
"B<ssize_t send(int >I<sockfd>B<, const void >I<buf>B<[.>I<len>B<], size_t >I<len>B<, int >I<flags>B<);>\n" |
| 885 |
"B<ssize_t sendto(int >I<sockfd>B<, const void >I<buf>B<[.>I<len>B<], size_t >I<len>B<, int >I<flags>B<,>\n" |
| 886 |
"B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n" |
| 887 |
"B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 888 |
msgstr "" |
| 889 |
|
| 890 |
#. type: Plain text |
| 891 |
#: debian-trixie |
| 892 |
#, no-wrap |
| 893 |
msgid "send(sockfd, buf, len, flags);\n" |
| 894 |
msgstr "" |
| 895 |
|
| 896 |
#. type: Plain text |
| 897 |
#: debian-trixie |
| 898 |
#, no-wrap |
| 899 |
msgid "sendto(sockfd, buf, len, flags, NULL, 0);\n" |
| 900 |
msgstr "" |
| 901 |
|
| 902 |
#. type: Plain text |
| 903 |
#: debian-trixie |
| 904 |
msgid "" |
| 905 |
"For B<send>() and B<sendto>(), the message is found in I<buf> and has " |
| 906 |
"length I<len>. For B<sendmsg>(), the message is pointed to by the elements " |
| 907 |
"of the array I<msg.msg_iov>. The B<sendmsg>() call also allows sending " |
| 908 |
"ancillary data (also known as control information)." |
| 909 |
msgstr "" |
| 910 |
|
| 911 |
#. type: Plain text |
| 912 |
#: debian-trixie |
| 913 |
#, no-wrap |
| 914 |
msgid "" |
| 915 |
"struct msghdr {\n" |
| 916 |
" void *msg_name; /* Optional address */\n" |
| 917 |
" socklen_t msg_namelen; /* Size of address */\n" |
| 918 |
" struct iovec *msg_iov; /* Scatter/gather array */\n" |
| 919 |
" size_t msg_iovlen; /* # elements in msg_iov */\n" |
| 920 |
" void *msg_control; /* Ancillary data, see below */\n" |
| 921 |
" size_t msg_controllen; /* Ancillary data buffer len */\n" |
| 922 |
" int msg_flags; /* Flags (unused) */\n" |
| 923 |
"};\n" |
| 924 |
msgstr "" |
| 925 |
|
| 926 |
#. type: Plain text |
| 927 |
#: debian-trixie |
| 928 |
msgid "" |
| 929 |
"You may send control information (ancillary data) using the I<msg_control> " |
| 930 |
"and I<msg_controllen> members. The maximum control buffer length the kernel " |
| 931 |
"can process is limited per socket by the value in I</proc/sys/net/core/" |
| 932 |
"optmem_max>; see B<socket>(7). For further information on the use of " |
| 933 |
"ancillary data in various socket domains, see B<unix>(7) and B<ip>(7)." |
| 934 |
msgstr "" |
| 935 |
|
| 936 |
#. type: Plain text |
| 937 |
#: debian-trixie fedora-44 fedora-rawhide |
| 938 |
msgid "POSIX.1-2008." |
| 939 |
msgstr "" |
| 940 |
|
| 941 |
#. type: TH |
| 942 |
#: fedora-44 fedora-rawhide |
| 943 |
#, no-wrap |
| 944 |
msgid "2024-11-17" |
| 945 |
msgstr "" |
| 946 |
|
| 947 |
#. type: TH |
| 948 |
#: fedora-44 fedora-rawhide |
| 949 |
#, no-wrap |
| 950 |
msgid "Linux man-pages 6.13" |
| 951 |
msgstr "" |
| 952 |
|
| 953 |
#. type: Plain text |
| 954 |
#: fedora-44 fedora-rawhide |
| 955 |
#, no-wrap |
| 956 |
msgid "" |
| 957 |
"B<ssize_t send(int >I<sockfd>B<, const void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, int >I<flags>B<);>\n" |
| 958 |
"B<ssize_t sendto(int >I<sockfd>B<, const void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, int >I<flags>B<,>\n" |
| 959 |
"B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n" |
| 960 |
"B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 961 |
msgstr "" |
| 962 |
|
| 963 |
#. type: TH |
| 964 |
#: mageia-cauldron |
| 965 |
#, no-wrap |
| 966 |
msgid "Linux man-pages 6.17" |
| 967 |
msgstr "" |
| 968 |
|
| 969 |
#. type: TH |
| 970 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 971 |
#, no-wrap |
| 972 |
msgid "Linux man-pages (unreleased)" |
| 973 |
msgstr "" |