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

Skip to content

Commit 87d2e61

Browse files
[po] auto sync
1 parent 2aaac14 commit 87d2e61

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

library/socket.po

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -339,62 +339,66 @@ msgid ""
339339
"hosts. The sockets are represented as a ``(CID, port)`` tuple where the "
340340
"context ID or CID and port are integers."
341341
msgstr ""
342+
":const:`AF_VSOCK` 用于支持虚拟机与宿主机之间的通讯。该套接字用 ``(CID, port)`` 元组表示,其中 Context ID "
343+
"(CID) 和 port 都是整数。"
342344

343345
#: ../../library/socket.rst:176
344346
msgid ""
345347
":const:`AF_PACKET` is a low-level interface directly to network devices. The"
346348
" packets are represented by the tuple ``(ifname, proto[, pkttype[, hatype[, "
347349
"addr]]])`` where:"
348350
msgstr ""
351+
":const:`AF_PACKET` 是一个底层接口,直接连接至网卡。数据包使用元组 ``(ifname, proto[, pkttype[, "
352+
"hatype[, addr]]])`` 表示,其中:"
349353

350354
#: ../../library/socket.rst:180
351355
msgid "*ifname* - String specifying the device name."
352-
msgstr ""
356+
msgstr "*ifname* - 指定设备名称的字符串。"
353357

354358
#: ../../library/socket.rst:181
355359
msgid ""
356360
"*proto* - An in network-byte-order integer specifying the Ethernet protocol "
357361
"number."
358-
msgstr ""
362+
msgstr "*proto* - 一个用网络字节序表示的整数,指定以太网协议版本号。"
359363

360364
#: ../../library/socket.rst:183
361365
msgid "*pkttype* - Optional integer specifying the packet type:"
362-
msgstr ""
366+
msgstr "*pkttype* - 指定数据包类型的整数(可选):"
363367

364368
#: ../../library/socket.rst:185
365369
msgid "``PACKET_HOST`` (the default) - Packet addressed to the local host."
366-
msgstr ""
370+
msgstr "``PACKET_HOST`` (默认) - 寻址到本地主机的数据包。"
367371

368372
#: ../../library/socket.rst:186
369373
msgid "``PACKET_BROADCAST`` - Physical-layer broadcast packet."
370-
msgstr ""
374+
msgstr "``PACKET_BROADCAST`` - 物理层广播的数据包。"
371375

372376
#: ../../library/socket.rst:187
373377
msgid ""
374378
"``PACKET_MULTIHOST`` - Packet sent to a physical-layer multicast address."
375-
msgstr ""
379+
msgstr "``PACKET_MULTIHOST`` - 发送到物理层多播地址的数据包。"
376380

377381
#: ../../library/socket.rst:188
378382
msgid ""
379383
"``PACKET_OTHERHOST`` - Packet to some other host that has been caught by a "
380384
"device driver in promiscuous mode."
381-
msgstr ""
385+
msgstr "``PACKET_OTHERHOST`` - 被(处于混杂模式的)网卡驱动捕获的、发送到其他主机的数据包。"
382386

383387
#: ../../library/socket.rst:190
384388
msgid ""
385389
"``PACKET_OUTGOING`` - Packet originating from the local host that is looped "
386390
"back to a packet socket."
387-
msgstr ""
391+
msgstr "``PACKET_OUTGOING`` - 来自本地主机的、回环到一个套接字的数据包。"
388392

389393
#: ../../library/socket.rst:192
390394
msgid "*hatype* - Optional integer specifying the ARP hardware address type."
391-
msgstr ""
395+
msgstr "*hatype* - 可选整数,指定 ARP 硬件地址类型。"
392396

393397
#: ../../library/socket.rst:193
394398
msgid ""
395399
"*addr* - Optional bytes-like object specifying the hardware physical "
396400
"address, whose interpretation depends on the device."
397-
msgstr ""
401+
msgstr "*addr* - 可选的类字节串对象,用于指定硬件物理地址,其解释取决于各设备。"
398402

399403
#: ../../library/socket.rst:196
400404
msgid ""
@@ -403,6 +407,8 @@ msgid ""
403407
"family is represented as a ``(node, port)`` tuple where the *node* and "
404408
"*port* are non-negative integers."
405409
msgstr ""
410+
":const:`AF_QIPCRTR` 是一个仅 Linux 可用的、基于套接字的接口,用于与高通平台中协处理器上运行的服务进行通信。该地址簇用一个 "
411+
"``(node, port)`` 元组表示,其中 *node* 和 *port* 为非负整数。"
406412

407413
#: ../../library/socket.rst:203
408414
msgid ""

0 commit comments

Comments
 (0)