@@ -2410,42 +2410,47 @@ msgstr "最后一个例子可能需要特别的权限::"
24102410msgid ""
24112411"Running an example several times with too small delay between executions, "
24122412"could lead to this error::"
2413- msgstr ""
2413+ msgstr "多次运行一个示例,且每次执行之间等待时间过短,可能导致这个错误:: "
24142414
24152415#: ../../library/socket.rst:1949
24162416msgid ""
24172417"This is because the previous execution has left the socket in a "
24182418"``TIME_WAIT`` state, and can't be immediately reused."
2419- msgstr ""
2419+ msgstr "这是因为前一次运行使套接字处于 ``TIME_WAIT`` 状态,无法立即重用。 "
24202420
24212421#: ../../library/socket.rst:1952
24222422msgid ""
24232423"There is a :mod:`socket` flag to set, in order to prevent this, "
24242424":data:`socket.SO_REUSEADDR`::"
2425- msgstr ""
2425+ msgstr "要防止这种情况,需要设置一个 :mod:`socket` 标志 :data:`socket.SO_REUSEADDR`:: "
24262426
24272427#: ../../library/socket.rst:1959
24282428msgid ""
24292429"the :data:`SO_REUSEADDR` flag tells the kernel to reuse a local socket in "
24302430"``TIME_WAIT`` state, without waiting for its natural timeout to expire."
24312431msgstr ""
2432+ ":data:`SO_REUSEADDR` 标志告诉内核将处于 ``TIME_WAIT`` 状态的本地套接字重新使用,而不必等到固有的超时到期。"
24322433
24332434#: ../../library/socket.rst:1965
24342435msgid ""
24352436"For an introduction to socket programming (in C), see the following papers:"
2436- msgstr ""
2437+ msgstr "关于套接字编程(C 语言)的介绍,请参阅以下文章: "
24372438
24382439#: ../../library/socket.rst:1967
24392440msgid ""
24402441"*An Introductory 4.3BSD Interprocess Communication Tutorial*, by Stuart "
24412442"Sechrest"
24422443msgstr ""
2444+ "*An Introductory 4.3BSD Interprocess Communication Tutorial*,作者 Stuart "
2445+ "Sechrest"
24432446
24442447#: ../../library/socket.rst:1969
24452448msgid ""
24462449"*An Advanced 4.3BSD Interprocess Communication Tutorial*, by Samuel J. "
24472450"Leffler et al,"
24482451msgstr ""
2452+ "*An Advanced 4.3BSD Interprocess Communication Tutorial*,作者 Samuel J. "
2453+ "Leffler et al,"
24492454
24502455#: ../../library/socket.rst:1972
24512456msgid ""
0 commit comments