Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e239dd0

Browse files
committed
Traducido archivo howto/sockets
1 parent 0e9820f commit e239dd0

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

howto/sockets.po

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2021-08-04 20:37+0200\n"
15-
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2023-03-21 10:44-0300\n"
15+
"Last-Translator: Francisco Mora <[email protected]>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 3.2.2\n"
2324

2425
#: ../Doc/howto/sockets.rst:5
2526
msgid "Socket Programming HOWTO"
@@ -471,30 +472,30 @@ msgid ""
471472
"little-endian, with the least significant byte first - that same ``1`` would "
472473
"be ``01 00``."
473474
msgstr ""
475+
"Es perfectamente posible enviar datos binarios a través de un socket. El "
476+
"principal problema es que no todas las máquinas utilizan los mismos formatos "
477+
"para datos binarios. Por ejemplo, `orden de bytes de red <https://en."
478+
"wikipedia.org/wiki/Endianness#Networking>`_ es big-endian, con el byte más "
479+
"significativo primero, por lo que es un entero de 16 bits con el valor ``1` "
480+
"` serían los dos bytes hexadecimales `` 00 01``. Sin embargo, los "
481+
"procesadores más comunes (x86/AMD64, ARM, RISC-V) son little-endian, con el "
482+
"byte menos significativo primero; ese mismo ``1`` sería ``01 00``."
474483

475484
#: ../Doc/howto/sockets.rst:262
476-
#, fuzzy
477485
msgid ""
478486
"Socket libraries have calls for converting 16 and 32 bit integers - ``ntohl, "
479487
"htonl, ntohs, htons`` where \"n\" means *network* and \"h\" means *host*, "
480488
"\"s\" means *short* and \"l\" means *long*. Where network order is host "
481489
"order, these do nothing, but where the machine is byte-reversed, these swap "
482490
"the bytes around appropriately."
483491
msgstr ""
484-
"Es perfectamente posible mandar datos binarios en un socket. El mayor "
485-
"problema es que no todas las máquinas usan el mismo formato para datos "
486-
"binarios. Por ejemplo, un chip Motorola representa un entero de 16 bit con "
487-
"el valor 1 como los dos bytes hexadecimales 00 01. Intel y DEC, sin embargo, "
488-
"son de \"bytes invertidos\" - el mismo valor 1 es 01 00. Las bibliotecas de "
489-
"sockets tienen funciones para convertir enteros de 16 y 32 bit - ``ntohl, "
490-
"htonl, ntohs, htons`` donde la \"n\" significa \"network\" y \"h\" significa "
491-
"\"host\", \"s\" significa \"short\" y \"l\" significa \"long\". Cuando el "
492-
"orden de la red es el orden del servidor, estas funciones no hacen nada, "
493-
"pero cuando la máquina es de \"bytes invertidos\", estas cambian los bytes "
494-
"apropiadamente."
492+
"Las bibliotecas de socket tienen llamadas para convertir enteros de 16 y 32 "
493+
"bits - ``ntohl, htonl, ntohs, htons`` donde \"n\" significa *red* y \"h\" "
494+
"significa *host*, \"s\" significa *corto* y \"l \" significa *largo*. Cuando "
495+
"el orden de la red es el orden del host, estos no hacen nada, pero cuando la "
496+
"máquina está invertida en bytes, intercambian los bytes de manera adecuada."
495497

496498
#: ../Doc/howto/sockets.rst:268
497-
#, fuzzy
498499
msgid ""
499500
"In these days of 64-bit machines, the ASCII representation of binary data is "
500501
"frequently smaller than the binary representation. That's because a "

0 commit comments

Comments
 (0)