@@ -907,6 +907,9 @@ msgid ""
907907"Unixes. If the :ref:`socket.SO_REUSEPORT <socket-unix-constants>` constant "
908908"is not defined then this capability is unsupported."
909909msgstr ""
910+ "*reuse_port* 告知内核允许此端点绑定到其他现有端点所绑定的相同端口上,只要它们在创建时都设置了这个旗标。 这个选项在 Windows 和某些"
911+ " Unix 上将不受支持。 如果 :ref:`socket.SO_REUSEPORT <socket-unix-constants>` "
912+ "常量未被定义那么该功能就是不受支持的。"
910913
911914#: ../../library/asyncio-eventloop.rst:587
912915msgid ""
@@ -948,6 +951,8 @@ msgid ""
948951"security concern for UDP. Explicitly passing ``reuse_address=True`` will "
949952"raise an exception."
950953msgstr ""
954+ "*reuse_address* 形参已不再受支持,因为使用 :ref:`socket.SO_REUSEADDR <socket-unix-"
955+ "constants>` 对于 UDP 会造成显著的安全问题。 显式地传入 ``reuse_address=True`` 将引发异常。"
951956
952957#: ../../library/asyncio-eventloop.rst:614
953958msgid ""
@@ -964,6 +969,9 @@ msgid ""
964969"unix-constants>` is used instead, which specifically prevents processes with"
965970" differing UIDs from assigning sockets to the same socket address."
966971msgstr ""
972+ "对于受支持的平台,可以使用 *reuse_port* 作为类似功能的替代。 通过 *reuse_port*,将会改用 "
973+ ":ref:`socket.SO_REUSEPORT <socket-unix-constants>`,它能防止具有不同 UID "
974+ "的进程将套接字赋给相同的套接字地址。"
967975
968976#: ../../library/asyncio-eventloop.rst:625
969977msgid "Added support for Windows."
@@ -1159,6 +1167,8 @@ msgid ""
11591167"option :ref:`socket.TCP_NODELAY <socket-unix-constants>` is set by default "
11601168"for all TCP connections."
11611169msgstr ""
1170+ "增加了 *ssl_handshake_timeout* 和 *start_serving* 形参。 套接字选项 "
1171+ ":ref:`socket.TCP_NODELAY <socket-unix-constants>` 会默认为所有 TCP 连接设置。"
11621172
11631173#: ../../library/asyncio-eventloop.rst:772
11641174msgid ""
@@ -2270,7 +2280,7 @@ msgstr "用于表示已经连进来的客户端连接会保持打开的状态。
22702280msgid ""
22712281"The server is closed asynchronously; use the :meth:`wait_closed` coroutine "
22722282"to wait until the server is closed (and no more connections are active)."
2273- msgstr ""
2283+ msgstr "服务器是被异步关闭的;使用 :meth:`wait_closed` 协程来等待服务器关闭(将不再有激活的连接)。 "
22742284
22752285#: ../../library/asyncio-eventloop.rst:1630
22762286msgid "Return the event loop associated with the server object."
0 commit comments