@@ -17,10 +17,11 @@ msgstr ""
1717"Content-Type : text/plain; charset=UTF-8\n "
1818"Content-Transfer-Encoding : 8bit\n "
1919"Plural-Forms : nplurals=1; plural=0;\n "
20+ "X-Generator : Poedit 3.4.1\n "
2021
2122#: ../../library/socket.rst:2
2223msgid ":mod:`socket` --- Low-level networking interface"
23- msgstr ""
24+ msgstr ":mod:`socket` — 網路底層介面 "
2425
2526#: ../../library/socket.rst:7
2627msgid "**Source code:** :source:`Lib/socket.py`"
@@ -32,12 +33,14 @@ msgid ""
3233"on all modern Unix systems, Windows, MacOS, and probably additional "
3334"platforms."
3435msgstr ""
36+ "這個模組提供了操作 BSD *socket* 的介面。這在所有現代Unix系統、Windows、"
37+ "MacOS,以及一些其他平台上都可用。"
3538
3639#: ../../library/socket.rst:16
3740msgid ""
3841"Some behavior may be platform dependent, since calls are made to the "
3942"operating system socket APIs."
40- msgstr ""
43+ msgstr "由於是呼叫作業系統的 socket API,某些行為可能會因平台而有所差異。 "
4144
4245#: ../../includes/wasm-notavail.rst:3
4346msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
@@ -62,22 +65,27 @@ msgid ""
6265"meth:`write` operations on Python files, buffer allocation on receive "
6366"operations is automatic, and buffer length is implicit on send operations."
6467msgstr ""
68+ "這個 Python 介面是將 Unix 系統呼叫和 socket 模組介面轉變成 Python 物件導向風格"
69+ "::func:`.socket` 函數回傳一個 :dfn:`socket object`,其方法實現了各種 "
70+ "socket 系統呼叫。參數類型相對於 C 語言的介面略為高層次:與 Python 文件操作中"
71+ "的 :meth:`read` 和 :meth:`write` 一樣,接收操作的緩衝區是自動分配的,而在發送"
72+ "操作的緩衝區長度是隱式的。"
6573
6674#: ../../library/socket.rst:36
6775msgid "Module :mod:`socketserver`"
6876msgstr ":mod:`socketserver` 模組"
6977
7078#: ../../library/socket.rst:36
7179msgid "Classes that simplify writing network servers."
72- msgstr ""
80+ msgstr "簡化編寫網路伺服器的類別。 "
7381
7482#: ../../library/socket.rst:38
7583msgid "Module :mod:`ssl`"
7684msgstr ":mod:`ssl` 模組"
7785
7886#: ../../library/socket.rst:39
7987msgid "A TLS/SSL wrapper for socket objects."
80- msgstr ""
88+ msgstr "對 socket 物件的 TLS/SSL 的包裝器 (wrapper)。 "
8189
8290#: ../../library/socket.rst:43
8391msgid "Socket families"
0 commit comments