File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2382,25 +2382,29 @@ msgid ""
23822382"The next example shows how to write a very simple network sniffer with raw "
23832383"sockets on Windows. The example requires administrator privileges to modify "
23842384"the interface::"
2385- msgstr ""
2385+ msgstr "下面的例子演示了如何在 Windows 上使用原始套接字编写一个非常简单的网络嗅探器。 这个例子需要管理员权限来修改接口:: "
23862386
23872387#: ../../library/socket.rst:1894
23882388msgid ""
23892389"The next example shows how to use the socket interface to communicate to a "
23902390"CAN network using the raw socket protocol. To use CAN with the broadcast "
23912391"manager protocol instead, open a socket with::"
23922392msgstr ""
2393+ "下面的例子演示了如何使用 socket 接口与采用原始套接字协议的 CAN 网络进行通信。 要改为通过广播管理器协议来使用 "
2394+ "CAN,则要用以下方式打开一个 socket::"
23932395
23942396#: ../../library/socket.rst:1900
23952397msgid ""
23962398"After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the "
23972399"socket, you can use the :meth:`socket.send`, and the :meth:`socket.recv` "
23982400"operations (and their counterparts) on the socket object as usual."
23992401msgstr ""
2402+ "在绑定 (:const:`CAN_RAW`) 或连接 (:const:`CAN_BCM`) socket 之后,你将可以在 socket 对象上正常使用"
2403+ " :meth:`socket.send` 以及 :meth:`socket.recv` 操作(及同类操作)。"
24002404
24012405#: ../../library/socket.rst:1904
24022406msgid "This last example might require special privileges::"
2403- msgstr ""
2407+ msgstr "最后一个例子可能需要特别的权限:: "
24042408
24052409#: ../../library/socket.rst:1944
24062410msgid ""
You can’t perform that action at this time.
0 commit comments