Debian Codegraph @

po/es/man2/getpeername.2.po

raw
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 # Gerardo Aburruzaga García <[email protected]>, 1998.
5 # Juan Piernas <[email protected]>, 1999.
6 # Marcos Fouces <[email protected]>, 2023-2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2025-08-04 18:17+0200\n"
12 "Last-Translator: Marcos Fouces <[email protected]>\n"
13 "Language-Team: Spanish <[email protected]>\n"
14 "Language: es\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 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 #, no-wrap
24 msgid "getpeername"
25 msgstr "getpeername"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 Octubre 2025"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "getpeername - get name of connected peer socket"
52 msgstr "getpeername - obtiene el nombre del conector en el otro extremo"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
79 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
87 "B< socklen_t *restrict >I<addrlen>B<);>\n"
88 msgstr ""
89 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
90 "B< socklen_t *restrict >I<addrlen>B<);>\n"
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 "DESCRIPCIÓN"
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 "B<getpeername>() returns the address of the peer connected to the socket "
104 "I<sockfd>, in the buffer pointed to by I<addr>. The I<addrlen> argument "
105 "should be initialized to indicate the amount of space pointed to by "
106 "I<addr>. On return it contains the actual size of the name returned (in "
107 "bytes). The name is truncated if the buffer provided is too small."
108 msgstr ""
109 "B<getpeername>() retornará la dirección del par conectado al socket "
110 "I<sockfd>, en el búfer que apunta I<addr>. El argumento I<addrlen> debe "
111 "inicializarse para indicar la cantidad de espacio apuntado por I<addr>. Al "
112 "devolver, contiene el tamaño real del nombre devuelto (en bytes). El nombre "
113 "se trunca si el búfer proporcionado es demasiado pequeño."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The returned address is truncated if the buffer provided is too small; in "
120 "this case, I<addrlen> will return a value greater than was supplied to the "
121 "call."
122 msgstr ""
123 "La dirección devuelta se trunca si el tamaño del búfer indicado es demasiado "
124 "pequeño; en este caso, I<addrlen> devolverá un valor mayor que el "
125 "proporcionado a la llamada."
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "RETURN VALUE"
132 msgstr "VALOR DEVUELTO"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
139 "to indicate the error."
140 msgstr ""
141 "En caso de éxito se devuelve cero. En caso de error se devuelve -1, y "
142 "I<errno> se configura para indicar el error."
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "ERRORS"
149 msgstr "ERRORES"
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<EBADF>"
156 msgstr "B<EBADF>"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid "The argument I<sockfd> is not a valid file descriptor."
162 msgstr "El argumento I<sockfd> no es un descriptor de archivo válido."
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<EFAULT>"
169 msgstr "B<EFAULT>"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The I<addr> argument points to memory not in a valid part of the process "
176 "address space."
177 msgstr ""
178 "El parámetro I<addr> apunta a memoria que no está en una zona válida del "
179 "espacio de direcciones del proceso."
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<EINVAL>"
186 msgstr "B<EINVAL>"
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "I<addrlen> is invalid (e.g., is negative)."
192 msgstr "I<addrlen> es inválido (por ejemplo: tiene valor negativo)."
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<ENOBUFS>"
199 msgstr "B<ENOBUFS>"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Insufficient resources were available in the system to perform the operation."
206 msgstr "Insuficientes recursos disponibles para realizar la operación."
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<ENOTCONN>"
213 msgstr "B<ENOTCONN>"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "The socket is not connected."
219 msgstr "El conector no está conectado."
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<ENOTSOCK>"
226 msgstr "B<ENOTSOCK>"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "The file descriptor I<sockfd> does not refer to a socket."
232 msgstr "El descriptor de archivo I<sockfd> no se refiere a un conector."
233
234 #. type: SH
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "STANDARDS"
239 msgstr "ESTÁNDARES"
240
241 #. type: Plain text
242 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 msgid "POSIX.1-2024."
245 msgstr "POSIX.1-2024."
246
247 #. type: SH
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "HISTORY"
252 msgstr "HISTORIAL"
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 "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
258 msgstr "POSIX.1-2001, SVr4, 4.4BSD (apareció por primera vez en 4.2BSD)."
259
260 #. type: SH
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "NOTES"
265 msgstr "NOTAS"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "For stream sockets, once a B<connect>(2) has been performed, either socket "
272 "can call B<getpeername>() to obtain the address of the peer socket. On the "
273 "other hand, datagram sockets are connectionless. Calling B<connect>(2) on "
274 "a datagram socket merely sets the peer address for outgoing datagrams sent "
275 "with B<write>(2) or B<recv>(2). The caller of B<connect>(2) can use "
276 "B<getpeername>() to obtain the peer address that it earlier set for the "
277 "socket. However, the peer socket is unaware of this information, and "
278 "calling B<getpeername>() on the peer socket will return no useful "
279 "information (unless a B<connect>(2) call was also executed on the peer). "
280 "Note also that the receiver of a datagram can obtain the address of the "
281 "sender when using B<recvfrom>(2)."
282 msgstr ""
283 "Para los sockets de flujo, una vez ejecutada una instrucción B<connect>(2), "
284 "cualquiera de los sockets puede llamar a B<getpeername>() para obtener la "
285 "dirección del socket parejo. Por otro lado, los sockets de datagrama no "
286 "requieren conexión. Llamar a B<connect>(2) en un socket de datagrama "
287 "simplemente establece la dirección del par para los datagramas salientes "
288 "enviados con B<write>(2) o B<recv>(2). Quien llama a B<connect>(2) puede "
289 "usar B<getpeername>() para obtener la dirección del par que previamente "
290 "estableció para el socket. Sin embargo, el socket del par no dispone de esta "
291 "información e invocar a B<getpeername>() en él no devolverá información útil "
292 "(a menos que también se haya ejecutado una llamada a B<connect>(2) en el "
293 "par). Tenga en cuenta también que el receptor de un datagrama puede obtener "
294 "la dirección del emisor al usar B<recvfrom>(2)."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "SEE ALSO"
301 msgstr "VÉASE TAMBIÉN"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
308 "B<unix>(7)"
309 msgstr ""
310 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
311 "B<unix>(7)"
312
313 #. type: TH
314 #: debian-trixie
315 #, no-wrap
316 msgid "2024-05-02"
317 msgstr "2 Mayo 2024"
318
319 #. type: TH
320 #: debian-trixie
321 #, no-wrap
322 msgid "Linux man-pages 6.9.1"
323 msgstr "Páginas de Manual de Linux 6.9.1"
324
325 #. type: Plain text
326 #: debian-trixie
327 msgid "Standard C library (I<libc>, I<-lc>)"
328 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
329
330 #. type: Plain text
331 #: debian-trixie fedora-44 fedora-rawhide
332 msgid "POSIX.1-2008."
333 msgstr "POSIX.1-2008."
334
335 #. type: TH
336 #: fedora-44 fedora-rawhide
337 #, no-wrap
338 msgid "2024-07-23"
339 msgstr "23 ​​Julio 2024"
340
341 #. type: TH
342 #: fedora-44 fedora-rawhide
343 #, no-wrap
344 msgid "Linux man-pages 6.13"
345 msgstr "Páginas de Manual de Linux 6.13"
346
347 #. type: TH
348 #: mageia-cauldron
349 #, no-wrap
350 msgid "Linux man-pages 6.17"
351 msgstr "Páginas de Manual de Linux 6.17"
352
353 #. type: TH
354 #: opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "Linux man-pages (unreleased)"
357 msgstr "Páginas de Manual de Linux (no publicadas)"