| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Juan Piernas <[email protected]>, 1999-2000. |
| 5 |
# Miguel Pérez Ibars <[email protected]>, 2004. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 10 |
"PO-Revision-Date: 2004-11-06 19:53+0200\n" |
| 11 |
"Last-Translator: Miguel Pérez Ibars <[email protected]>\n" |
| 12 |
"Language-Team: Spanish <[email protected]>\n" |
| 13 |
"Language: es\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 18 |
"X-Generator: Lokalize 20.04.1\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, fuzzy, no-wrap |
| 24 |
#| msgid "recv()" |
| 25 |
msgid "recv" |
| 26 |
msgstr "recv()" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2025-10-29" |
| 33 |
msgstr "29 Octubre 2025" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, fuzzy, no-wrap |
| 38 |
#| msgid "Linux man-pages 6.17" |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Páginas de Manual de Linux 6.17" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NOMBRE" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "recv, recvfrom, recvmsg - receive a message from a socket" |
| 53 |
msgstr "recv, recvfrom, recvmsg - reciben un mensaje desde un conector" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTECA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SINOPSIS" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 84 |
#: opensuse-tumbleweed |
| 85 |
#, fuzzy, no-wrap |
| 86 |
#| msgid "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<len>B<,> B<int >I<flags>B<, struct sockaddr *>I<from>B<, socklen_t *>I<fromlen>B<);>" |
| 87 |
msgid "" |
| 88 |
"B<ssize_t recv(>size_t size;\n" |
| 89 |
"B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n" |
| 90 |
"B< int >I<flags>B<);>\n" |
| 91 |
"B<ssize_t recvfrom(>size_t size;\n" |
| 92 |
"B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 93 |
"B< int >I<flags>B<,>\n" |
| 94 |
"B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n" |
| 95 |
"B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n" |
| 96 |
"B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 97 |
msgstr "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<lon>B<, int >I<flags>B<,> B<struct sockaddr *>I<desde>B<, socklen_t *>I<londesde>B<);>" |
| 98 |
|
| 99 |
#. type: SH |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "DESCRIPTION" |
| 104 |
msgstr "DESCRIPCIÓN" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, fuzzy |
| 110 |
#| msgid "" |
| 111 |
#| "The B<recvfrom> and B<recvmsg> calls are used to receive messages from a " |
| 112 |
#| "socket, and may be used to receive data on a socket whether or not it is " |
| 113 |
#| "connection-oriented." |
| 114 |
msgid "" |
| 115 |
"The B<recv>(), B<recvfrom>(), and B<recvmsg>() calls are used to receive " |
| 116 |
"messages from a socket. They may be used to receive data on both " |
| 117 |
"connectionless and connection-oriented sockets. This page first describes " |
| 118 |
"common features of all three system calls, and then describes the " |
| 119 |
"differences between the calls." |
| 120 |
msgstr "" |
| 121 |
"Las llamadas B<recvfrom> y B<recvmsg> se emplean para recibir mensajes desde " |
| 122 |
"un conector (``socket''), y pueden utilizarse para recibir datos de un " |
| 123 |
"conector sea orientado a conexión o no." |
| 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 "" |
| 129 |
"The only difference between B<recv>() and B<read>(2) is the presence of " |
| 130 |
"I<flags>. With a zero I<flags> argument, B<recv>() is generally equivalent " |
| 131 |
"to B<read>(2) (but see NOTES). Also, the following call" |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 136 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
#, no-wrap |
| 138 |
msgid "recv(sockfd, buf, size, flags);\n" |
| 139 |
msgstr "" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "is equivalent to" |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 149 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
#, no-wrap |
| 151 |
msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n" |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 156 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, fuzzy |
| 158 |
#| msgid "" |
| 159 |
#| "All three routines return the length of the message on successful " |
| 160 |
#| "completion. If a message is too long to fit in the supplied buffer, " |
| 161 |
#| "excess bytes may be discarded depending on the type of socket the message " |
| 162 |
#| "is received from (see B<socket>(2))." |
| 163 |
msgid "" |
| 164 |
"All three calls return the size of the message on successful completion. If " |
| 165 |
"a message is too long to fit in the supplied buffer, excess bytes may be " |
| 166 |
"discarded depending on the type of socket the message is received from." |
| 167 |
msgstr "" |
| 168 |
"Las tres rutinas devuelven la longitud del mensaje cuando terminan bien. Si " |
| 169 |
"un mensaje es demasiado largo como para caber en el búfer suministrado, los " |
| 170 |
"bytes que sobran pueden descartarse dependiendo del tipo de conector del que " |
| 171 |
"se reciba el mensaje (vea B<socket>(2))." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, fuzzy |
| 177 |
#| msgid "" |
| 178 |
#| "If no messages are available at the socket, the receive calls wait for a " |
| 179 |
#| "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)) in " |
| 180 |
#| "which case the value -1 is returned and the external variable I<errno> " |
| 181 |
#| "set to B<EAGAIN>. The receive calls normally return any data available, " |
| 182 |
#| "up to the requested amount, rather than waiting for receipt of the full " |
| 183 |
#| "amount requested." |
| 184 |
msgid "" |
| 185 |
"If no messages are available at the socket, the receive calls wait for a " |
| 186 |
"message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in " |
| 187 |
"which case the value -1 is returned and I<errno> is set to B<EAGAIN> or " |
| 188 |
"B<EWOULDBLOCK>. The receive calls normally return any data available, up to " |
| 189 |
"the requested amount, rather than waiting for receipt of the full amount " |
| 190 |
"requested." |
| 191 |
msgstr "" |
| 192 |
"Si no hay mensajes disponibles en el conector, las llamadas de recepción " |
| 193 |
"esperan que llegue un mensaje, a menos que el conector sea no bloqueante " |
| 194 |
"(vea B<fcntl>(2)) en cuyo caso se devuelve el valor -1 y la variable " |
| 195 |
"externa I<errno> toma el valor B<EAGAIN>. Las llamadas de recepción " |
| 196 |
"devuelven normalmente cualquier dato disponible, hasta la cantidad pedida, " |
| 197 |
"en vez de esperar la recepción de la cantidad pedida completa." |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, fuzzy |
| 203 |
#| msgid "" |
| 204 |
#| "The B<select>(2) or B<poll>(2) call may be used to determine when more " |
| 205 |
#| "data arrives." |
| 206 |
msgid "" |
| 207 |
"An application can use B<select>(2), B<poll>(2), or B<epoll>(7) to " |
| 208 |
"determine when more data arrives on a socket." |
| 209 |
msgstr "" |
| 210 |
"Las llamadas B<select>(2) o B<poll>(2) pueden emplearse para determinar " |
| 211 |
"cuándo llegan más datos." |
| 212 |
|
| 213 |
#. type: SS |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "The flags argument" |
| 218 |
msgstr "" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, fuzzy |
| 224 |
#| msgid "" |
| 225 |
#| "The I<flags> argument to a recv call is formed by I<OR>'ing one or more " |
| 226 |
#| "of the following values:" |
| 227 |
msgid "" |
| 228 |
"The I<flags> argument is formed by ORing one or more of the following values:" |
| 229 |
msgstr "" |
| 230 |
"El argumento I<flags> de una llamada a recv se forma aplicando el operador " |
| 231 |
"de bits I<O>-lógico a uno o más de los valores siguientes:" |
| 232 |
|
| 233 |
#. type: TP |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
#, no-wrap |
| 237 |
msgid "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() only; since Linux 2.6.23)" |
| 238 |
msgstr "" |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"Set the close-on-exec flag for the file descriptor received via a UNIX " |
| 245 |
"domain file descriptor using the B<SCM_RIGHTS> operation (described in " |
| 246 |
"B<unix>(7)). This flag is useful for the same reasons as the B<O_CLOEXEC> " |
| 247 |
"flag of B<open>(2)." |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#. type: TP |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "B<MSG_DONTWAIT> (since Linux 2.2)" |
| 255 |
msgstr "B<MSG_DONTWAIT> (desde Linux 2.2)" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 259 |
#: opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"Enables nonblocking operation; if the operation would block, the call fails " |
| 262 |
"with B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior to setting " |
| 263 |
"the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but " |
| 264 |
"differs in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> " |
| 265 |
"is a setting on the open file description (see B<open>(2)), which will " |
| 266 |
"affect all threads in the calling process as well as other processes that " |
| 267 |
"hold file descriptors referring to the same open file description." |
| 268 |
msgstr "" |
| 269 |
|
| 270 |
#. type: TP |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "B<MSG_ERRQUEUE> (since Linux 2.2)" |
| 275 |
msgstr "B<MSG_ERRQUEUE> (desde Linux 2.2)" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
msgid "" |
| 281 |
"This flag specifies that queued errors should be received from the socket " |
| 282 |
"error queue. The error is passed in an ancillary message with a type " |
| 283 |
"dependent on the protocol (for IPv4 B<IP_RECVERR>). The user should supply " |
| 284 |
"a buffer of sufficient size. See B<cmsg>(3) and B<ip>(7) for more " |
| 285 |
"information. The payload of the original packet that caused the error is " |
| 286 |
"passed as normal data via I<msg_iovec>. The original destination address of " |
| 287 |
"the datagram that caused the error is supplied via I<msg_name>." |
| 288 |
msgstr "" |
| 289 |
"Esta opción indica que los errores encolados deben recibirse desde la cola " |
| 290 |
"de errores de conectores. El error se pasa en un mensaje auxiliar con un " |
| 291 |
"tipo dependiente del protocolo (para IPv4 éste es B<IP_RECVERR>). El " |
| 292 |
"usuario debe proporciona un buffer de tamaño suficiente. Vea B<cmsg>(3) y " |
| 293 |
"B<ip>(7) para obtener más información. El contenido útil del paquete " |
| 294 |
"original que provocó el error se pasa como datos normales a través de " |
| 295 |
"I<msg_iovec>. La dirección original de destino del datagrama que provocó el " |
| 296 |
"error se pasa a través de I<msg_name>." |
| 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 "The error is supplied in a I<sock_extended_err> structure:" |
| 302 |
msgstr "El error se suministra en una estructura I<sock_extended_err>:" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
#, fuzzy, no-wrap |
| 308 |
#| msgid "" |
| 309 |
#| "struct sock_extended_err\n" |
| 310 |
#| "{\n" |
| 311 |
#| "\tu_int32_t\tee_errno;\t/* error number */\n" |
| 312 |
#| "\tu_int8_t\tee_origin;\t/* where the error originated */ \n" |
| 313 |
#| "\tu_int8_t\tee_type;\t/* type */\n" |
| 314 |
#| "\tu_int8_t\tee_code;\t/* code */\n" |
| 315 |
#| "\tu_int8_t\tee_pad;\n" |
| 316 |
#| "\tu_int32_t\tee_info;\t/* additional information */\n" |
| 317 |
#| "\tu_int32_t\tee_data;\t/* other data */ \n" |
| 318 |
#| "\t/* More data may follow */ \n" |
| 319 |
#| "};\n" |
| 320 |
msgid "" |
| 321 |
"#define SO_EE_ORIGIN_NONE 0\n" |
| 322 |
"#define SO_EE_ORIGIN_LOCAL 1\n" |
| 323 |
"#define SO_EE_ORIGIN_ICMP 2\n" |
| 324 |
"#define SO_EE_ORIGIN_ICMP6 3\n" |
| 325 |
"\\&\n" |
| 326 |
"struct sock_extended_err\n" |
| 327 |
"{\n" |
| 328 |
" uint32_t ee_errno; /* Error number */\n" |
| 329 |
" uint8_t ee_origin; /* Where the error originated */\n" |
| 330 |
" uint8_t ee_type; /* Type */\n" |
| 331 |
" uint8_t ee_code; /* Code */\n" |
| 332 |
" uint8_t ee_pad; /* Padding */\n" |
| 333 |
" uint32_t ee_info; /* Additional information */\n" |
| 334 |
" uint32_t ee_data; /* Other data */\n" |
| 335 |
" /* More data may follow */\n" |
| 336 |
"};\n" |
| 337 |
"\\&\n" |
| 338 |
"struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n" |
| 339 |
msgstr "" |
| 340 |
"struct sock_extended_err\n" |
| 341 |
"{\n" |
| 342 |
" u_int32_t ee_errno; /* número de error */\n" |
| 343 |
" u_int8_t ee_origin; /* origen del error */\n" |
| 344 |
" u_int8_t ee_type; /* tipo */\n" |
| 345 |
" u_int8_t ee_code; /* código */\n" |
| 346 |
" u_int8_t ee_pad;\n" |
| 347 |
" u_int32_t ee_info; /* información adicional */\n" |
| 348 |
" u_int32_t ee_data; /* otros datos */\n" |
| 349 |
" /* Pueden ir más datos a continuación .*/\n" |
| 350 |
"};\n" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
#, fuzzy |
| 356 |
#| msgid "" |
| 357 |
#| "I<ee_errno> contains the I<errno> number of the queued error. " |
| 358 |
#| "I<ee_origin> is the origin code of where the error originated. The other " |
| 359 |
#| "fields are protocol-specific. The macro B<SOCK_EE_OFFENDER> returns a " |
| 360 |
#| "pointer to the address of the network object where the error originated " |
| 361 |
#| "from given a pointer to the ancillary message. If this address is not " |
| 362 |
#| "known, the I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> " |
| 363 |
#| "and the other fields of the I<sockaddr> are undefined. The payload of " |
| 364 |
#| "the packet that caused the error is passed as normal data." |
| 365 |
msgid "" |
| 366 |
"I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> " |
| 367 |
"is the origin code of where the error originated. The other fields are " |
| 368 |
"protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the " |
| 369 |
"address of the network object where the error originated from given a " |
| 370 |
"pointer to the ancillary message. If this address is not known, the " |
| 371 |
"I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other " |
| 372 |
"fields of the I<sockaddr> are undefined. The payload of the packet that " |
| 373 |
"caused the error is passed as normal data." |
| 374 |
msgstr "" |
| 375 |
"I<ee_errno> contiene el número I<errno> del error encolado. I<ee_origin> es " |
| 376 |
"el código del origen en donde se ha originado el error. Los otros campos " |
| 377 |
"son específicos del protocolo. La macro B<SOCK_EE_OFFENDER> devuelve un " |
| 378 |
"puntero a la dirección del objeto de red desde donde se ha originado el " |
| 379 |
"error dando un puntero al mensaje auxiliar. Si esta dirección se desconoce, " |
| 380 |
"el miembro I<sa_family> de I<sockaddr> contiene B<AF_UNSPEC> y los otros " |
| 381 |
"campos de I<sockaddr> quedan indefinidos. El contenido útil del paquete que " |
| 382 |
"ha producido el error se pasa como datos normales." |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, fuzzy |
| 388 |
#| msgid "" |
| 389 |
#| "For local errors, no address is passed (this can be checked with the " |
| 390 |
#| "I<cmsg_len> member of the B<cmsghdr>). For error receives, the " |
| 391 |
#| "B<MSG_ERRQUEUE> is set in the B<msghdr>. After an error has been passed, " |
| 392 |
#| "the pending socket error is regenerated based on the next queued error " |
| 393 |
#| "and will be passed on the next socket operation." |
| 394 |
msgid "" |
| 395 |
"For local errors, no address is passed (this can be checked with the " |
| 396 |
"I<cmsg_len> member of the I<cmsghdr>). For error receives, the " |
| 397 |
"B<MSG_ERRQUEUE> flag is set in the I<msghdr>. After an error has been " |
| 398 |
"passed, the pending socket error is regenerated based on the next queued " |
| 399 |
"error and will be passed on the next socket operation." |
| 400 |
msgstr "" |
| 401 |
"Para errores locales, no se pasa ninguna dirección (ésto puede comprobarse " |
| 402 |
"con el miembro I<cmsg_len> de B<cmsghdr>). Para los errores recibidos, se " |
| 403 |
"asigna B<MSG_ERRQUEUE> a B<msghdr>. Después de que se haya pasado un error, " |
| 404 |
"el error de conector pendiente se regenera basándose en el siguiente error " |
| 405 |
"encolado y se pasará en la siguiente operación de conectores." |
| 406 |
|
| 407 |
#. type: TP |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
#, no-wrap |
| 411 |
msgid "B<MSG_OOB>" |
| 412 |
msgstr "B<MSG_OOB>" |
| 413 |
|
| 414 |
#. type: Plain text |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
msgid "" |
| 418 |
"This flag requests receipt of out-of-band data that would not be received in " |
| 419 |
"the normal data stream. Some protocols place expedited data at the head of " |
| 420 |
"the normal data queue, and thus this flag cannot be used with such protocols." |
| 421 |
msgstr "" |
| 422 |
"Esta opción pide la recepción de datos fuera-de-banda que no se recibirían " |
| 423 |
"en el flujo de datos normal. Algunos protocolos ponen datos despachados con " |
| 424 |
"prontitud en la cabeza de la cola de datos normales, y así, esta opción no " |
| 425 |
"puede emplearse con tales protocolos." |
| 426 |
|
| 427 |
#. type: TP |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid "B<MSG_PEEK>" |
| 432 |
msgstr "B<MSG_PEEK>" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"This flag causes the receive operation to return data from the beginning of " |
| 439 |
"the receive queue without removing that data from the queue. Thus, a " |
| 440 |
"subsequent receive call will return the same data." |
| 441 |
msgstr "" |
| 442 |
"Esta opción hace que la operación de recepción devuelva datos del principio " |
| 443 |
"de la cola de recepción sin quitarlos de allí. Así, una próxima llamada de " |
| 444 |
"recepción devolverá los mismos datos." |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<MSG_TRUNC> (since Linux 2.2)" |
| 451 |
msgstr "B<MSG_TRUNC> (desde Linux 2.2)" |
| 452 |
|
| 453 |
#. commit 9f6f9af7694ede6314bed281eec74d588ba9474f |
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 456 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "" |
| 458 |
"For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), " |
| 459 |
"netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet " |
| 460 |
"(since Linux 3.4) sockets: return the real size of the packet or datagram, " |
| 461 |
"even when it was longer than the passed buffer." |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "For use with Internet stream sockets, see B<tcp>(7)." |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. type: TP |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
#, no-wrap |
| 474 |
msgid "B<MSG_WAITALL> (since Linux 2.2)" |
| 475 |
msgstr "B<MSG_WAITALL> (desde Linux 2.2)" |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 480 |
#, fuzzy |
| 481 |
#| msgid "" |
| 482 |
#| "This flag requests that the operation block until the full request is " |
| 483 |
#| "satisfied. However, the call may still return less data than requested " |
| 484 |
#| "if a signal is caught, an error or disconnect occurs, or the next data to " |
| 485 |
#| "be received is of a different type than that returned." |
| 486 |
msgid "" |
| 487 |
"This flag requests that the operation block until the full request is " |
| 488 |
"satisfied. However, the call may still return less data than requested if a " |
| 489 |
"signal is caught, an error or disconnect occurs, or the next data to be " |
| 490 |
"received is of a different type than that returned. This flag has no effect " |
| 491 |
"for datagram sockets." |
| 492 |
msgstr "" |
| 493 |
"Esta opción hace que la operación se bloquee hasta que se satisfaga la " |
| 494 |
"petición completamente. Sin embargo, la llamada puede aún devolver menos " |
| 495 |
"datos de los pedidos si se captura una señal, si ocurre un error o una " |
| 496 |
"desconexión, o si los próximos datos que se van a recibir son de un tipo " |
| 497 |
"diferente del que se ha devuelto." |
| 498 |
|
| 499 |
#. type: SS |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
#, no-wrap |
| 503 |
msgid "recvfrom()" |
| 504 |
msgstr "recvfrom()" |
| 505 |
|
| 506 |
#. type: Plain text |
| 507 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 508 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
msgid "" |
| 510 |
"B<recvfrom>() places the received message into the buffer I<buf>. The " |
| 511 |
"caller must specify the size of the buffer in I<size>." |
| 512 |
msgstr "" |
| 513 |
|
| 514 |
#. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 515 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 516 |
#. .I src_addr |
| 517 |
#. is filled in. |
| 518 |
#. .I src_addr |
| 519 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 520 |
#. filled in for stream sockets in the Internet domain.) |
| 521 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 522 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 523 |
#. type: Plain text |
| 524 |
#. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 525 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 526 |
#. .I src_addr |
| 527 |
#. is filled in. |
| 528 |
#. .I src_addr |
| 529 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 530 |
#. filled in for stream sockets in the Internet domain.) |
| 531 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 532 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 533 |
#. type: Plain text |
| 534 |
#. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 535 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 536 |
#. .I src_addr |
| 537 |
#. is filled in. |
| 538 |
#. .I src_addr |
| 539 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 540 |
#. filled in for stream sockets in the Internet domain.) |
| 541 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 542 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 543 |
#. type: Plain text |
| 544 |
#. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 545 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 546 |
#. .I src_addr |
| 547 |
#. is filled in. |
| 548 |
#. .I src_addr |
| 549 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 550 |
#. filled in for stream sockets in the Internet domain.) |
| 551 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 552 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 553 |
#. type: Plain text |
| 554 |
#. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 555 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 556 |
#. .I src_addr |
| 557 |
#. is filled in. |
| 558 |
#. .I src_addr |
| 559 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 560 |
#. filled in for stream sockets in the Internet domain.) |
| 561 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 562 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 563 |
#. type: Plain text |
| 564 |
#. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 565 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 566 |
#. .I src_addr |
| 567 |
#. is filled in. |
| 568 |
#. .I src_addr |
| 569 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 570 |
#. filled in for stream sockets in the Internet domain.) |
| 571 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 572 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 573 |
#. type: Plain text |
| 574 |
#. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 575 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 576 |
#. .I src_addr |
| 577 |
#. is filled in. |
| 578 |
#. .I src_addr |
| 579 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 580 |
#. filled in for stream sockets in the Internet domain.) |
| 581 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 582 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 583 |
#. type: Plain text |
| 584 |
#. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 585 |
#. (Note: for datagram sockets in both the UNIX and Internet domains, |
| 586 |
#. .I src_addr |
| 587 |
#. is filled in. |
| 588 |
#. .I src_addr |
| 589 |
#. is also filled in for stream sockets in the UNIX domain, but is not |
| 590 |
#. filled in for stream sockets in the Internet domain.) |
| 591 |
#. [The above notes on AF_UNIX and AF_INET sockets apply as at |
| 592 |
#. Kernel 2.4.18. (MTK, 22 Jul 02)] |
| 593 |
#. type: Plain text |
| 594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 596 |
msgid "" |
| 597 |
"If I<src_addr> is not NULL, and the underlying protocol provides the source " |
| 598 |
"address of the message, that source address is placed in the buffer pointed " |
| 599 |
"to by I<src_addr>. In this case, I<addrlen> is a value-result argument. " |
| 600 |
"Before the call, it should be initialized to the size of the buffer " |
| 601 |
"associated with I<src_addr>. Upon return, I<addrlen> is updated to contain " |
| 602 |
"the actual size of the source address. The returned address is truncated if " |
| 603 |
"the buffer provided is too small; in this case, I<addrlen> will return a " |
| 604 |
"value greater than was supplied to the call." |
| 605 |
msgstr "" |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
msgid "" |
| 611 |
"If the caller is not interested in the source address, I<src_addr> and " |
| 612 |
"I<addrlen> should be specified as NULL." |
| 613 |
msgstr "" |
| 614 |
|
| 615 |
#. type: SS |
| 616 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 617 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 618 |
#, no-wrap |
| 619 |
msgid "recv()" |
| 620 |
msgstr "recv()" |
| 621 |
|
| 622 |
#. type: Plain text |
| 623 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 624 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 625 |
#, fuzzy |
| 626 |
#| msgid "" |
| 627 |
#| "The B<recv> call is normally used only on a I<connected> socket (see " |
| 628 |
#| "B<connect>(2)) and is identical to B<recvfrom> with a NULL I<from> " |
| 629 |
#| "parameter." |
| 630 |
msgid "" |
| 631 |
"The B<recv>() call is normally used only on a I<connected> socket (see " |
| 632 |
"B<connect>(2)). It is equivalent to the call:" |
| 633 |
msgstr "" |
| 634 |
"La llamada a B<recv> se utiliza normalmente sólo en un conector I<conectado> " |
| 635 |
"(vea B<connect>(2)) y es idéntica a B<recvfrom> con un parámetro I<desde> " |
| 636 |
"con valor NULL." |
| 637 |
|
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 640 |
#: opensuse-tumbleweed |
| 641 |
#, no-wrap |
| 642 |
msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n" |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
#. type: SS |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
#, no-wrap |
| 649 |
msgid "recvmsg()" |
| 650 |
msgstr "recvmsg()" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
#, fuzzy |
| 656 |
#| msgid "" |
| 657 |
#| "The B<recvmsg> call uses a I<msghdr> structure to minimize the number of " |
| 658 |
#| "directly supplied parameters. This structure has the following form, as " |
| 659 |
#| "defined in I<E<lt>sys/socket.hE<gt>>:" |
| 660 |
msgid "" |
| 661 |
"The B<recvmsg>() call uses a I<msghdr> structure to minimize the number of " |
| 662 |
"directly supplied arguments. This structure is defined as follows in " |
| 663 |
"I<E<lt>sys/socket.hE<gt>>:" |
| 664 |
msgstr "" |
| 665 |
"La llamada B<recvmsg> utiliza una estructura I<msghdr> para minimizar el " |
| 666 |
"número de parámetros suministrados directamente. Esta estructura tiene la " |
| 667 |
"forma siguiente, según se define en I<E<lt>sys/socket.hE<gt>>:" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 671 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
#, fuzzy, no-wrap |
| 673 |
#| msgid "" |
| 674 |
#| "struct msghdr {\n" |
| 675 |
#| "\tvoid\t* msg_name;\t/* optional address */\n" |
| 676 |
#| "\tsocklen_t\tmsg_namelen;\t/* size of address */\n" |
| 677 |
#| "\tstruct iovec\t* msg_iov;\t/* scatter/gather array */\n" |
| 678 |
#| "\tsize_t\tmsg_iovlen;\t/* # elements in msg_iov */\n" |
| 679 |
#| "\tvoid\t* msg_control;\t/* ancillary data, see below */\n" |
| 680 |
#| "\tsocklen_t\tmsg_controllen;\t/* ancillary data buffer len */\n" |
| 681 |
#| "\tint\tmsg_flags;\t/* flags on received message */\n" |
| 682 |
#| "};\n" |
| 683 |
msgid "" |
| 684 |
"struct msghdr {\n" |
| 685 |
" void *msg_name; /* Optional address */\n" |
| 686 |
" socklen_t msg_namelen; /* Size of address */\n" |
| 687 |
" struct iovec *msg_iov; /* Scatter/gather array */\n" |
| 688 |
" size_t msg_iovlen; /* # elements in msg_iov */\n" |
| 689 |
" void *msg_control; /* Ancillary data, see below */\n" |
| 690 |
" size_t msg_controllen; /* Ancillary data buffer size */\n" |
| 691 |
" int msg_flags; /* Flags on received message */\n" |
| 692 |
"};\n" |
| 693 |
msgstr "" |
| 694 |
"struct msghdr {\n" |
| 695 |
"\tvoid\t* msg_name;\t/* dirección opcional */\n" |
| 696 |
"\tsocklen_t\tmsg_namelen;\t/* tamaño de la dirección */\n" |
| 697 |
"\tstruct iovec\t* msg_iov;\t/* vector dispersar/agrupar */\n" |
| 698 |
"\tsize_t\tmsg_iovlen;\t/* nº de elementos en msg_iov */\n" |
| 699 |
"\tvoid\t* msg_control;\t/* datos auxiliares, ver más abajo */\n" |
| 700 |
"\tsocklen_t\tmsg_controllen;\t/* long buffer datos auxiliares */\n" |
| 701 |
"\tint\tmsg_flags;\t/* opciones en mensaje recibido */\n" |
| 702 |
"};\n" |
| 703 |
|
| 704 |
#. type: Plain text |
| 705 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 706 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 707 |
msgid "" |
| 708 |
"The I<msg_name> field points to a caller-allocated buffer that is used to " |
| 709 |
"return the source address if the socket is unconnected. The caller should " |
| 710 |
"set I<msg_namelen> to the size of this buffer before this call; upon return " |
| 711 |
"from a successful call, I<msg_namelen> will contain the size of the returned " |
| 712 |
"address. If the application does not need to know the source address, " |
| 713 |
"I<msg_name> can be specified as NULL." |
| 714 |
msgstr "" |
| 715 |
|
| 716 |
#. type: Plain text |
| 717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 719 |
#, fuzzy |
| 720 |
msgid "" |
| 721 |
"The fields I<msg_iov> and I<msg_iovlen> describe scatter-gather locations, " |
| 722 |
"as discussed in B<readv>(2)." |
| 723 |
msgstr "" |
| 724 |
"Aquí I<msg_name> y I<msg_namelen> especifican la dirección de origen si el " |
| 725 |
"conector está desconectado; I<msg_name> puede darse como un puntero nulo si " |
| 726 |
"no se desean o requieren nombres. Los campos I<msg_iov> y I<msg_iovlen> " |
| 727 |
"describen localizaciones dispersar/agrupar, como se discute en B<readv>(2). " |
| 728 |
|
| 729 |
#. type: Plain text |
| 730 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 731 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 732 |
#, fuzzy |
| 733 |
#| msgid "" |
| 734 |
#| "The field I<msg_control>, which has length I<msg_controllen>, points to a " |
| 735 |
#| "buffer for other protocol control-related messages or miscellaneous " |
| 736 |
#| "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should " |
| 737 |
#| "contain the length of the available buffer in I<msg_control>; upon return " |
| 738 |
#| "from a successful call it will contain the length of the control message " |
| 739 |
#| "sequence." |
| 740 |
msgid "" |
| 741 |
"The field I<msg_control>, which has size I<msg_controllen>, points to a " |
| 742 |
"buffer for other protocol control-related messages or miscellaneous " |
| 743 |
"ancillary data. When B<recvmsg>() is called, I<msg_controllen> should " |
| 744 |
"contain the size of the available buffer in I<msg_control>; upon return from " |
| 745 |
"a successful call it will contain the size of the control message sequence." |
| 746 |
msgstr "" |
| 747 |
"El campo I<msg_control>, que tiene de longitud I<msg_controllen>, apunta a " |
| 748 |
"un búfer para otros mensajes relacionados con control de protocolo o para " |
| 749 |
"datos auxiliares diversos. Cuando se llama a B<recvmsg>(), I<msg_controllen> " |
| 750 |
"debe contener la longitud del buffer disponible en I<msg_control>; a la " |
| 751 |
"vuelta de una llamada con éxito contendrá la longitud de la secuencia de " |
| 752 |
"mensajes de control." |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
msgid "The messages are of the form:" |
| 758 |
msgstr "Los mensajes son de la forma:" |
| 759 |
|
| 760 |
#. type: Plain text |
| 761 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 762 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 763 |
#, fuzzy, no-wrap |
| 764 |
#| msgid "" |
| 765 |
#| "struct cmsghdr {\n" |
| 766 |
#| "\tsocklen_t\tcmsg_len;\t/* data byte count, including hdr */\n" |
| 767 |
#| "\tint\tcmsg_level;\t/* originating protocol */\n" |
| 768 |
#| "\tint\tcmsg_type;\t/* protocol-specific type */\n" |
| 769 |
#| "/* followed by\n" |
| 770 |
#| "\tu_char\tcmsg_data[]; */\n" |
| 771 |
#| "};\n" |
| 772 |
msgid "" |
| 773 |
"struct cmsghdr {\n" |
| 774 |
" size_t cmsg_len; /* Data byte count, including header\n" |
| 775 |
" (type is socklen_t in POSIX) */\n" |
| 776 |
" int cmsg_level; /* Originating protocol */\n" |
| 777 |
" int cmsg_type; /* Protocol-specific type */\n" |
| 778 |
"/* followed by\n" |
| 779 |
" unsigned char cmsg_data[]; */\n" |
| 780 |
"};\n" |
| 781 |
msgstr "" |
| 782 |
"struct cmsghdr {\n" |
| 783 |
"\tsocklen_t\tcmsg_len;\t/* Nº de byte de datos, incluye cab. */\n" |
| 784 |
"\tint\tcmsg_level;\t/* protocolo originante */\n" |
| 785 |
"\tint\tcmsg_type;\t/* tipo específico del protocolo */\n" |
| 786 |
"\t\t\t/* seguido por\n" |
| 787 |
"\tu_char\tcmsg_data[]; */\n" |
| 788 |
"};\n" |
| 789 |
|
| 790 |
#. type: Plain text |
| 791 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 792 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 793 |
msgid "" |
| 794 |
"Ancillary data should be accessed only by the macros defined in B<cmsg>(3)." |
| 795 |
msgstr "" |
| 796 |
"Los datos auxiliares sólo deberían ser accedidos mediante las macros " |
| 797 |
"definidas en B<cmsg>(3)." |
| 798 |
|
| 799 |
#. type: Plain text |
| 800 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 801 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 802 |
#, fuzzy |
| 803 |
#| msgid "" |
| 804 |
#| "As an example, Linux uses this ancillary data mechanism to pass extended " |
| 805 |
#| "errors, IP options, or file descriptors over UNIX domain sockets." |
| 806 |
msgid "" |
| 807 |
"As an example, Linux uses this ancillary data mechanism to pass extended " |
| 808 |
"errors, IP options, or file descriptors over UNIX domain sockets. For " |
| 809 |
"further information on the use of ancillary data in various socket domains, " |
| 810 |
"see B<unix>(7) and B<ip>(7)." |
| 811 |
msgstr "" |
| 812 |
"Como ejemplo, Linux usa este mecanismo de datos auxiliares para pasar " |
| 813 |
"errores ampliados, opciones IP o descriptores de fichero mediante conectores " |
| 814 |
"UNIX." |
| 815 |
|
| 816 |
#. type: Plain text |
| 817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 819 |
msgid "" |
| 820 |
"The I<msg_flags> field in the I<msghdr> is set on return of B<recvmsg>(). " |
| 821 |
"It can contain several flags:" |
| 822 |
msgstr "" |
| 823 |
"El contenido del campo I<msg_flags> en I<msghdr> se establece cuando " |
| 824 |
"B<recvmsg>() regresa. Puede contener numerosas opciones:" |
| 825 |
|
| 826 |
#. type: TP |
| 827 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 828 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 829 |
#, no-wrap |
| 830 |
msgid "B<MSG_EOR>" |
| 831 |
msgstr "B<MSG_EOR>" |
| 832 |
|
| 833 |
#. type: Plain text |
| 834 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 835 |
#: opensuse-tumbleweed |
| 836 |
#, fuzzy |
| 837 |
#| msgid "" |
| 838 |
#| "indicates end-of-record; the data returned completed a record (generally " |
| 839 |
#| "used with sockets of type B<SOCK_SEQPACKET>)." |
| 840 |
msgid "" |
| 841 |
"indicates end-of-record; the data returned completed a record (generally, " |
| 842 |
"used with sockets of type B<SOCK_SEQPACKET>)." |
| 843 |
msgstr "" |
| 844 |
"indica fin-de-registro; los datos devueltos completaron un registro " |
| 845 |
"(generalmente empleado con conectores del tipo B<SOCK_SEQPACKET>)." |
| 846 |
|
| 847 |
#. type: TP |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
#, no-wrap |
| 851 |
msgid "B<MSG_TRUNC>" |
| 852 |
msgstr "B<MSG_TRUNC>" |
| 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 |
"indicates that the trailing portion of a datagram was discarded because the " |
| 859 |
"datagram was larger than the buffer supplied." |
| 860 |
msgstr "" |
| 861 |
"indica que la porción traserá de un datagrama ha sido descartada porque el " |
| 862 |
"datagrama era más grande que el búfer suministrado." |
| 863 |
|
| 864 |
#. type: TP |
| 865 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 866 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 867 |
#, no-wrap |
| 868 |
msgid "B<MSG_CTRUNC>" |
| 869 |
msgstr "B<MSG_CTRUNC>" |
| 870 |
|
| 871 |
#. type: Plain text |
| 872 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 873 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 874 |
msgid "" |
| 875 |
"indicates that some control data was discarded due to lack of space in the " |
| 876 |
"buffer for ancillary data." |
| 877 |
msgstr "" |
| 878 |
"indica que algún dato de control ha sido descartado debido a la falta de " |
| 879 |
"espacio en el búfer para datos auxiliares." |
| 880 |
|
| 881 |
#. type: Plain text |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
msgid "" |
| 885 |
"is returned to indicate that expedited or out-of-band data was received." |
| 886 |
msgstr "" |
| 887 |
"se devuelve para indicar que se han recibido datos despachados prontamente o " |
| 888 |
"fuera-de-banda." |
| 889 |
|
| 890 |
#. type: TP |
| 891 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 892 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 893 |
#, no-wrap |
| 894 |
msgid "B<MSG_ERRQUEUE>" |
| 895 |
msgstr "B<MSG_ERRQUEUE>" |
| 896 |
|
| 897 |
#. type: Plain text |
| 898 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 899 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 900 |
msgid "" |
| 901 |
"indicates that no data was received but an extended error from the socket " |
| 902 |
"error queue." |
| 903 |
msgstr "" |
| 904 |
"indica que no se ha recibido ningún dato sino un error ampliado de la cola " |
| 905 |
"de errores de conectores." |
| 906 |
|
| 907 |
#. type: TP |
| 908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 910 |
#, fuzzy, no-wrap |
| 911 |
#| msgid "B<MSG_TRUNC> (since Linux 2.2)" |
| 912 |
msgid "B<MSG_CMSG_CLOEXEC> (since Linux 2.6.23)" |
| 913 |
msgstr "B<MSG_TRUNC> (desde Linux 2.2)" |
| 914 |
|
| 915 |
#. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7 |
| 916 |
#. type: Plain text |
| 917 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 918 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 919 |
msgid "" |
| 920 |
"indicates that B<MSG_CMSG_CLOEXEC> was specified in the I<flags> argument of " |
| 921 |
"B<recvmsg>()." |
| 922 |
msgstr "" |
| 923 |
|
| 924 |
#. type: SH |
| 925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 927 |
#, no-wrap |
| 928 |
msgid "RETURN VALUE" |
| 929 |
msgstr "VALOR DEVUELTO" |
| 930 |
|
| 931 |
#. type: Plain text |
| 932 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 933 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 934 |
#, fuzzy |
| 935 |
#| msgid "" |
| 936 |
#| "These calls return the number of bytes received, or -1 if an error " |
| 937 |
#| "occurred." |
| 938 |
msgid "" |
| 939 |
"These calls return the number of bytes received, or -1 if an error " |
| 940 |
"occurred. In the event of an error, I<errno> is set to indicate the error." |
| 941 |
msgstr "" |
| 942 |
"Estas llamadas devuelven el número de bytes recibidos, o bien -1 en caso de " |
| 943 |
"que ocurriera un error." |
| 944 |
|
| 945 |
#. type: Plain text |
| 946 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 947 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 948 |
msgid "" |
| 949 |
"When a stream socket peer has performed an orderly shutdown, the return " |
| 950 |
"value will be 0 (the traditional \"end-of-file\" return)." |
| 951 |
msgstr "" |
| 952 |
|
| 953 |
#. type: Plain text |
| 954 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 955 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 956 |
msgid "" |
| 957 |
"Datagram sockets in various domains (e.g., the UNIX and Internet domains) " |
| 958 |
"permit zero-size datagrams. When such a datagram is received, the return " |
| 959 |
"value is 0." |
| 960 |
msgstr "" |
| 961 |
|
| 962 |
#. type: Plain text |
| 963 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 964 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 965 |
#, fuzzy |
| 966 |
#| msgid "" |
| 967 |
#| "These calls return the number of bytes received, or -1 if an error " |
| 968 |
#| "occurred." |
| 969 |
msgid "" |
| 970 |
"The value 0 may also be returned if the requested number of bytes to receive " |
| 971 |
"from a stream socket was 0." |
| 972 |
msgstr "" |
| 973 |
"Estas llamadas devuelven el número de bytes recibidos, o bien -1 en caso de " |
| 974 |
"que ocurriera un error." |
| 975 |
|
| 976 |
#. type: SH |
| 977 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 978 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 979 |
#, no-wrap |
| 980 |
msgid "ERRORS" |
| 981 |
msgstr "ERRORES" |
| 982 |
|
| 983 |
#. type: Plain text |
| 984 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 985 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 986 |
msgid "" |
| 987 |
"These are some standard errors generated by the socket layer. Additional " |
| 988 |
"errors may be generated and returned from the underlying protocol modules; " |
| 989 |
"see their manual pages." |
| 990 |
msgstr "" |
| 991 |
"Estos son algunos errores estándares generados por la capa de conectores. " |
| 992 |
"Los modulos de los protocolos subyacentes pueden generar y devolver errores " |
| 993 |
"adicionales. Consulte sus páginas de manual." |
| 994 |
|
| 995 |
#. type: TP |
| 996 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 997 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 998 |
#, no-wrap |
| 999 |
msgid "B<EAGAIN> or B<EWOULDBLOCK>" |
| 1000 |
msgstr "B<EAGAIN> o B<EWOULDBLOCK>" |
| 1001 |
|
| 1002 |
#. Actually EAGAIN on Linux |
| 1003 |
#. type: Plain text |
| 1004 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1005 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1006 |
#, fuzzy |
| 1007 |
#| msgid "" |
| 1008 |
#| "The socket is marked non-blocking and the receive operation would block, " |
| 1009 |
#| "or a receive timeout had been set and the timeout expired before data was " |
| 1010 |
#| "received." |
| 1011 |
msgid "" |
| 1012 |
"The socket is marked nonblocking and the receive operation would block, or a " |
| 1013 |
"receive timeout had been set and the timeout expired before data was " |
| 1014 |
"received. POSIX.1 allows either error to be returned for this case, and " |
| 1015 |
"does not require these constants to have the same value, so a portable " |
| 1016 |
"application should check for both possibilities." |
| 1017 |
msgstr "" |
| 1018 |
"El conector está marcado como no-bloqueante, y la operación de recepción " |
| 1019 |
"produciría un bloqueo, o se ha puesto un límite de tiempo en la recepción, " |
| 1020 |
"que ha expirado antes de que se recibieran datos." |
| 1021 |
|
| 1022 |
#. type: TP |
| 1023 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1024 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1025 |
#, no-wrap |
| 1026 |
msgid "B<EBADF>" |
| 1027 |
msgstr "B<EBADF>" |
| 1028 |
|
| 1029 |
#. type: Plain text |
| 1030 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1031 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1032 |
#, fuzzy |
| 1033 |
#| msgid "The argument I<s> is an invalid descriptor." |
| 1034 |
msgid "The argument I<sockfd> is an invalid file descriptor." |
| 1035 |
msgstr "El argumento I<s> es un descriptor inválido." |
| 1036 |
|
| 1037 |
#. type: TP |
| 1038 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1039 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1040 |
#, no-wrap |
| 1041 |
msgid "B<ECONNREFUSED>" |
| 1042 |
msgstr "B<ECONNREFUSED>" |
| 1043 |
|
| 1044 |
#. type: Plain text |
| 1045 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1046 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1047 |
msgid "" |
| 1048 |
"A remote host refused to allow the network connection (typically because it " |
| 1049 |
"is not running the requested service)." |
| 1050 |
msgstr "" |
| 1051 |
"Un host remoto no permite la conexión de red (normalmente porque no está " |
| 1052 |
"ejecutando el servicio solicitado)." |
| 1053 |
|
| 1054 |
#. type: TP |
| 1055 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1056 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1057 |
#, no-wrap |
| 1058 |
msgid "B<EFAULT>" |
| 1059 |
msgstr "B<EFAULT>" |
| 1060 |
|
| 1061 |
#. type: Plain text |
| 1062 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1063 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1064 |
msgid "" |
| 1065 |
"The receive buffer pointer(s) point outside the process's address space." |
| 1066 |
msgstr "" |
| 1067 |
"El puntero a búfer de recepción (o punteros) apunta afuera del espacio de " |
| 1068 |
"direcciones del proceso." |
| 1069 |
|
| 1070 |
#. type: TP |
| 1071 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1072 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1073 |
#, no-wrap |
| 1074 |
msgid "B<EINTR>" |
| 1075 |
msgstr "B<EINTR>" |
| 1076 |
|
| 1077 |
#. type: Plain text |
| 1078 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1079 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1080 |
#, fuzzy |
| 1081 |
#| msgid "" |
| 1082 |
#| "The receive was interrupted by delivery of a signal before any data were " |
| 1083 |
#| "available." |
| 1084 |
msgid "" |
| 1085 |
"The receive was interrupted by delivery of a signal before any data was " |
| 1086 |
"available; see B<signal>(7)." |
| 1087 |
msgstr "" |
| 1088 |
"La recepción ha sido interrumpida por la llegada de una señal antes de que " |
| 1089 |
"hubiera algún dato disponible." |
| 1090 |
|
| 1091 |
#. type: TP |
| 1092 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1093 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1094 |
#, no-wrap |
| 1095 |
msgid "B<EINVAL>" |
| 1096 |
msgstr "B<EINVAL>" |
| 1097 |
|
| 1098 |
#. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom() |
| 1099 |
#. type: Plain text |
| 1100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1102 |
msgid "Invalid argument passed." |
| 1103 |
msgstr "Se ha pasado un argumento inválido." |
| 1104 |
|
| 1105 |
#. type: TP |
| 1106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1108 |
#, no-wrap |
| 1109 |
msgid "B<ENOMEM>" |
| 1110 |
msgstr "B<ENOMEM>" |
| 1111 |
|
| 1112 |
#. type: Plain text |
| 1113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1115 |
msgid "Could not allocate memory for B<recvmsg>()." |
| 1116 |
msgstr "" |
| 1117 |
|
| 1118 |
#. type: TP |
| 1119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1121 |
#, no-wrap |
| 1122 |
msgid "B<ENOTCONN>" |
| 1123 |
msgstr "B<ENOTCONN>" |
| 1124 |
|
| 1125 |
#. type: Plain text |
| 1126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1128 |
msgid "" |
| 1129 |
"The socket is associated with a connection-oriented protocol and has not " |
| 1130 |
"been connected (see B<connect>(2) and B<accept>(2))." |
| 1131 |
msgstr "" |
| 1132 |
"El conector está asociado con un protocolo orientado a la conexión y no ha " |
| 1133 |
"sido conectado (vea B<connect>(2) y B<accept>(2))." |
| 1134 |
|
| 1135 |
#. type: TP |
| 1136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1138 |
#, no-wrap |
| 1139 |
msgid "B<ENOTSOCK>" |
| 1140 |
msgstr "B<ENOTSOCK>" |
| 1141 |
|
| 1142 |
#. type: Plain text |
| 1143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1145 |
msgid "The file descriptor I<sockfd> does not refer to a socket." |
| 1146 |
msgstr "El descriptor de archivo I<sockfd> no se refiere a un conector." |
| 1147 |
|
| 1148 |
#. type: SH |
| 1149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1151 |
#, no-wrap |
| 1152 |
msgid "VERSIONS" |
| 1153 |
msgstr "VERSIONES" |
| 1154 |
|
| 1155 |
#. POSIX.1-2001, POSIX.1-2008 |
| 1156 |
#. glibc bug for msg_controllen raised 12 Mar 2006 |
| 1157 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=2448 |
| 1158 |
#. The problem is an underlying kernel issue: the size of the |
| 1159 |
#. __kernel_size_t type used to type these fields varies |
| 1160 |
#. across architectures, but socklen_t is always 32 bits, |
| 1161 |
#. as (at least with GCC) is int. |
| 1162 |
#. type: Plain text |
| 1163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1165 |
msgid "" |
| 1166 |
"According to POSIX.1, the I<msg_controllen> field of the I<msghdr> structure " |
| 1167 |
"should be typed as I<socklen_t>, and the I<msg_iovlen> field should be typed " |
| 1168 |
"as I<int>, but glibc currently types both as I<size_t>." |
| 1169 |
msgstr "" |
| 1170 |
|
| 1171 |
#. type: SH |
| 1172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1174 |
#, no-wrap |
| 1175 |
msgid "STANDARDS" |
| 1176 |
msgstr "ESTÁNDARES" |
| 1177 |
|
| 1178 |
#. type: Plain text |
| 1179 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1180 |
#: opensuse-tumbleweed |
| 1181 |
msgid "POSIX.1-2024." |
| 1182 |
msgstr "POSIX.1-2024." |
| 1183 |
|
| 1184 |
#. type: SH |
| 1185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1187 |
#, no-wrap |
| 1188 |
msgid "HISTORY" |
| 1189 |
msgstr "HISTORIAL" |
| 1190 |
|
| 1191 |
#. type: Plain text |
| 1192 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1193 |
#: opensuse-tumbleweed |
| 1194 |
msgid "POSIX.1-2001, 4.2BSD." |
| 1195 |
msgstr "POSIX.1-2001, 4.2BSD." |
| 1196 |
|
| 1197 |
#. type: Plain text |
| 1198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1200 |
msgid "" |
| 1201 |
"POSIX.1 describes only the B<MSG_OOB>, B<MSG_PEEK>, and B<MSG_WAITALL> flags." |
| 1202 |
msgstr "" |
| 1203 |
|
| 1204 |
#. type: SH |
| 1205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1207 |
#, no-wrap |
| 1208 |
msgid "NOTES" |
| 1209 |
msgstr "NOTAS" |
| 1210 |
|
| 1211 |
#. type: Plain text |
| 1212 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1213 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1214 |
msgid "" |
| 1215 |
"If a zero-size datagram is pending, B<read>(2) and B<recv>() with a " |
| 1216 |
"I<flags> argument of zero provide different behavior. In this circumstance, " |
| 1217 |
"B<read>(2) has no effect (the datagram remains pending), while B<recv>() " |
| 1218 |
"consumes the pending datagram." |
| 1219 |
msgstr "" |
| 1220 |
|
| 1221 |
#. type: Plain text |
| 1222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1224 |
msgid "" |
| 1225 |
"See B<recvmmsg>(2) for information about a Linux-specific system call that " |
| 1226 |
"can be used to receive multiple datagrams in a single call." |
| 1227 |
msgstr "" |
| 1228 |
|
| 1229 |
#. type: SH |
| 1230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1232 |
#, no-wrap |
| 1233 |
msgid "EXAMPLES" |
| 1234 |
msgstr "EJEMPLOS" |
| 1235 |
|
| 1236 |
#. type: Plain text |
| 1237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1239 |
msgid "An example of the use of B<recvfrom>() is shown in B<getaddrinfo>(3)." |
| 1240 |
msgstr "" |
| 1241 |
|
| 1242 |
#. type: SH |
| 1243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1245 |
#, no-wrap |
| 1246 |
msgid "SEE ALSO" |
| 1247 |
msgstr "VÉASE TAMBIÉN" |
| 1248 |
|
| 1249 |
#. type: Plain text |
| 1250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1252 |
msgid "" |
| 1253 |
"B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), " |
| 1254 |
"B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), " |
| 1255 |
"B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)" |
| 1256 |
msgstr "" |
| 1257 |
"B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), " |
| 1258 |
"B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), " |
| 1259 |
"B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)" |
| 1260 |
|
| 1261 |
#. type: TH |
| 1262 |
#: debian-trixie |
| 1263 |
#, no-wrap |
| 1264 |
msgid "2024-05-02" |
| 1265 |
msgstr "2 Mayo 2024" |
| 1266 |
|
| 1267 |
#. type: TH |
| 1268 |
#: debian-trixie |
| 1269 |
#, no-wrap |
| 1270 |
msgid "Linux man-pages 6.9.1" |
| 1271 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 1272 |
|
| 1273 |
#. type: Plain text |
| 1274 |
#: debian-trixie |
| 1275 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1276 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 1277 |
|
| 1278 |
#. type: Plain text |
| 1279 |
#: debian-trixie |
| 1280 |
#, fuzzy, no-wrap |
| 1281 |
#| msgid "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<len>B<,> B<int >I<flags>B<, struct sockaddr *>I<from>B<, socklen_t *>I<fromlen>B<);>" |
| 1282 |
msgid "" |
| 1283 |
"B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n" |
| 1284 |
"B< int >I<flags>B<);>\n" |
| 1285 |
"B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n" |
| 1286 |
"B< int >I<flags>B<,>\n" |
| 1287 |
"B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n" |
| 1288 |
"B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n" |
| 1289 |
"B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 1290 |
msgstr "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<lon>B<, int >I<flags>B<,> B<struct sockaddr *>I<desde>B<, socklen_t *>I<londesde>B<);>" |
| 1291 |
|
| 1292 |
#. type: Plain text |
| 1293 |
#: debian-trixie |
| 1294 |
#, no-wrap |
| 1295 |
msgid "recv(sockfd, buf, len, flags);\n" |
| 1296 |
msgstr "" |
| 1297 |
|
| 1298 |
#. type: Plain text |
| 1299 |
#: debian-trixie |
| 1300 |
#, no-wrap |
| 1301 |
msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n" |
| 1302 |
msgstr "" |
| 1303 |
|
| 1304 |
#. type: Plain text |
| 1305 |
#: debian-trixie |
| 1306 |
#, fuzzy |
| 1307 |
#| msgid "" |
| 1308 |
#| "All three routines return the length of the message on successful " |
| 1309 |
#| "completion. If a message is too long to fit in the supplied buffer, " |
| 1310 |
#| "excess bytes may be discarded depending on the type of socket the message " |
| 1311 |
#| "is received from (see B<socket>(2))." |
| 1312 |
msgid "" |
| 1313 |
"All three calls return the length of the message on successful completion. " |
| 1314 |
"If a message is too long to fit in the supplied buffer, excess bytes may be " |
| 1315 |
"discarded depending on the type of socket the message is received from." |
| 1316 |
msgstr "" |
| 1317 |
"Las tres rutinas devuelven la longitud del mensaje cuando terminan bien. Si " |
| 1318 |
"un mensaje es demasiado largo como para caber en el búfer suministrado, los " |
| 1319 |
"bytes que sobran pueden descartarse dependiendo del tipo de conector del que " |
| 1320 |
"se reciba el mensaje (vea B<socket>(2))." |
| 1321 |
|
| 1322 |
#. type: Plain text |
| 1323 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1324 |
msgid "" |
| 1325 |
"Enables nonblocking operation; if the operation would block, the call fails " |
| 1326 |
"with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior " |
| 1327 |
"to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> " |
| 1328 |
"operation), but differs in that B<MSG_DONTWAIT> is a per-call option, " |
| 1329 |
"whereas B<O_NONBLOCK> is a setting on the open file description (see " |
| 1330 |
"B<open>(2)), which will affect all threads in the calling process as well as " |
| 1331 |
"other processes that hold file descriptors referring to the same open file " |
| 1332 |
"description." |
| 1333 |
msgstr "" |
| 1334 |
|
| 1335 |
#. commit 9f6f9af7694ede6314bed281eec74d588ba9474f |
| 1336 |
#. type: Plain text |
| 1337 |
#: debian-trixie |
| 1338 |
msgid "" |
| 1339 |
"For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), " |
| 1340 |
"netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet " |
| 1341 |
"(since Linux 3.4) sockets: return the real length of the packet or datagram, " |
| 1342 |
"even when it was longer than the passed buffer." |
| 1343 |
msgstr "" |
| 1344 |
|
| 1345 |
#. type: Plain text |
| 1346 |
#: debian-trixie |
| 1347 |
msgid "" |
| 1348 |
"B<recvfrom>() places the received message into the buffer I<buf>. The " |
| 1349 |
"caller must specify the size of the buffer in I<len>." |
| 1350 |
msgstr "" |
| 1351 |
|
| 1352 |
#. type: Plain text |
| 1353 |
#: debian-trixie |
| 1354 |
#, no-wrap |
| 1355 |
msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n" |
| 1356 |
msgstr "" |
| 1357 |
|
| 1358 |
#. type: Plain text |
| 1359 |
#: debian-trixie |
| 1360 |
#, fuzzy, no-wrap |
| 1361 |
#| msgid "" |
| 1362 |
#| "struct msghdr {\n" |
| 1363 |
#| "\tvoid\t* msg_name;\t/* optional address */\n" |
| 1364 |
#| "\tsocklen_t\tmsg_namelen;\t/* size of address */\n" |
| 1365 |
#| "\tstruct iovec\t* msg_iov;\t/* scatter/gather array */\n" |
| 1366 |
#| "\tsize_t\tmsg_iovlen;\t/* # elements in msg_iov */\n" |
| 1367 |
#| "\tvoid\t* msg_control;\t/* ancillary data, see below */\n" |
| 1368 |
#| "\tsocklen_t\tmsg_controllen;\t/* ancillary data buffer len */\n" |
| 1369 |
#| "\tint\tmsg_flags;\t/* flags on received message */\n" |
| 1370 |
#| "};\n" |
| 1371 |
msgid "" |
| 1372 |
"struct msghdr {\n" |
| 1373 |
" void *msg_name; /* Optional address */\n" |
| 1374 |
" socklen_t msg_namelen; /* Size of address */\n" |
| 1375 |
" struct iovec *msg_iov; /* Scatter/gather array */\n" |
| 1376 |
" size_t msg_iovlen; /* # elements in msg_iov */\n" |
| 1377 |
" void *msg_control; /* Ancillary data, see below */\n" |
| 1378 |
" size_t msg_controllen; /* Ancillary data buffer len */\n" |
| 1379 |
" int msg_flags; /* Flags on received message */\n" |
| 1380 |
"};\n" |
| 1381 |
msgstr "" |
| 1382 |
"struct msghdr {\n" |
| 1383 |
"\tvoid\t* msg_name;\t/* dirección opcional */\n" |
| 1384 |
"\tsocklen_t\tmsg_namelen;\t/* tamaño de la dirección */\n" |
| 1385 |
"\tstruct iovec\t* msg_iov;\t/* vector dispersar/agrupar */\n" |
| 1386 |
"\tsize_t\tmsg_iovlen;\t/* nº de elementos en msg_iov */\n" |
| 1387 |
"\tvoid\t* msg_control;\t/* datos auxiliares, ver más abajo */\n" |
| 1388 |
"\tsocklen_t\tmsg_controllen;\t/* long buffer datos auxiliares */\n" |
| 1389 |
"\tint\tmsg_flags;\t/* opciones en mensaje recibido */\n" |
| 1390 |
"};\n" |
| 1391 |
|
| 1392 |
#. type: Plain text |
| 1393 |
#: debian-trixie |
| 1394 |
msgid "" |
| 1395 |
"The I<msg_name> field points to a caller-allocated buffer that is used to " |
| 1396 |
"return the source address if the socket is unconnected. The caller should " |
| 1397 |
"set I<msg_namelen> to the size of this buffer before this call; upon return " |
| 1398 |
"from a successful call, I<msg_namelen> will contain the length of the " |
| 1399 |
"returned address. If the application does not need to know the source " |
| 1400 |
"address, I<msg_name> can be specified as NULL." |
| 1401 |
msgstr "" |
| 1402 |
|
| 1403 |
#. type: Plain text |
| 1404 |
#: debian-trixie |
| 1405 |
msgid "" |
| 1406 |
"The field I<msg_control>, which has length I<msg_controllen>, points to a " |
| 1407 |
"buffer for other protocol control-related messages or miscellaneous " |
| 1408 |
"ancillary data. When B<recvmsg>() is called, I<msg_controllen> should " |
| 1409 |
"contain the length of the available buffer in I<msg_control>; upon return " |
| 1410 |
"from a successful call it will contain the length of the control message " |
| 1411 |
"sequence." |
| 1412 |
msgstr "" |
| 1413 |
"El campo I<msg_control>, que tiene de longitud I<msg_controllen>, apunta a " |
| 1414 |
"un búfer para otros mensajes relacionados con control de protocolo o para " |
| 1415 |
"datos auxiliares diversos. Cuando se llama a B<recvmsg>(), I<msg_controllen> " |
| 1416 |
"debe contener la longitud del buffer disponible en I<msg_control>; a la " |
| 1417 |
"vuelta de una llamada con éxito contendrá la longitud de la secuencia de " |
| 1418 |
"mensajes de control." |
| 1419 |
|
| 1420 |
#. type: Plain text |
| 1421 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1422 |
msgid "" |
| 1423 |
"indicates end-of-record; the data returned completed a record (generally " |
| 1424 |
"used with sockets of type B<SOCK_SEQPACKET>)." |
| 1425 |
msgstr "" |
| 1426 |
"indica fin-de-registro; los datos devueltos completaron un registro " |
| 1427 |
"(generalmente empleado con conectores del tipo B<SOCK_SEQPACKET>)." |
| 1428 |
|
| 1429 |
#. type: Plain text |
| 1430 |
#: debian-trixie |
| 1431 |
msgid "" |
| 1432 |
"Datagram sockets in various domains (e.g., the UNIX and Internet domains) " |
| 1433 |
"permit zero-length datagrams. When such a datagram is received, the return " |
| 1434 |
"value is 0." |
| 1435 |
msgstr "" |
| 1436 |
|
| 1437 |
#. type: Plain text |
| 1438 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1439 |
msgid "POSIX.1-2008." |
| 1440 |
msgstr "POSIX.1-2008." |
| 1441 |
|
| 1442 |
#. type: Plain text |
| 1443 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1444 |
#, fuzzy |
| 1445 |
#| msgid "4.4BSD (these function calls first appeared in 4.2BSD)." |
| 1446 |
msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)." |
| 1447 |
msgstr "4.4BSD (estas funciones aparecieron por primera vez en 4.2BSD)." |
| 1448 |
|
| 1449 |
#. type: Plain text |
| 1450 |
#: debian-trixie |
| 1451 |
msgid "" |
| 1452 |
"If a zero-length datagram is pending, B<read>(2) and B<recv>() with a " |
| 1453 |
"I<flags> argument of zero provide different behavior. In this circumstance, " |
| 1454 |
"B<read>(2) has no effect (the datagram remains pending), while B<recv>() " |
| 1455 |
"consumes the pending datagram." |
| 1456 |
msgstr "" |
| 1457 |
|
| 1458 |
#. type: TH |
| 1459 |
#: fedora-44 fedora-rawhide |
| 1460 |
#, no-wrap |
| 1461 |
msgid "2024-11-17" |
| 1462 |
msgstr "17 Noviembre 2024" |
| 1463 |
|
| 1464 |
#. type: TH |
| 1465 |
#: fedora-44 fedora-rawhide |
| 1466 |
#, no-wrap |
| 1467 |
msgid "Linux man-pages 6.13" |
| 1468 |
msgstr "Páginas de Manual de Linux 6.13" |
| 1469 |
|
| 1470 |
#. type: Plain text |
| 1471 |
#: fedora-44 fedora-rawhide |
| 1472 |
#, fuzzy, no-wrap |
| 1473 |
#| msgid "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<len>B<,> B<int >I<flags>B<, struct sockaddr *>I<from>B<, socklen_t *>I<fromlen>B<);>" |
| 1474 |
msgid "" |
| 1475 |
"B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n" |
| 1476 |
"B< int >I<flags>B<);>\n" |
| 1477 |
"B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 1478 |
"B< int >I<flags>B<,>\n" |
| 1479 |
"B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n" |
| 1480 |
"B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n" |
| 1481 |
"B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n" |
| 1482 |
msgstr "B<ssize_t recvfrom(int >I<s>B<, void *>I<buf>B<, size_t >I<lon>B<, int >I<flags>B<,> B<struct sockaddr *>I<desde>B<, socklen_t *>I<londesde>B<);>" |
| 1483 |
|
| 1484 |
#. type: Plain text |
| 1485 |
#: fedora-44 fedora-rawhide |
| 1486 |
#, no-wrap |
| 1487 |
msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n" |
| 1488 |
msgstr "" |
| 1489 |
|
| 1490 |
#. type: TH |
| 1491 |
#: mageia-cauldron |
| 1492 |
#, no-wrap |
| 1493 |
msgid "Linux man-pages 6.17" |
| 1494 |
msgstr "Páginas de Manual de Linux 6.17" |
| 1495 |
|
| 1496 |
#. type: TH |
| 1497 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1498 |
#, no-wrap |
| 1499 |
msgid "Linux man-pages (unreleased)" |
| 1500 |
msgstr "Páginas de Manual de Linux (no publicadas)" |