@@ -17,10 +17,11 @@ msgstr ""
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
+ "X-Generator : Poedit 3.4.1\n "
20
21
21
22
#: ../../library/socket.rst:2
22
23
msgid ":mod:`socket` --- Low-level networking interface"
23
- msgstr ""
24
+ msgstr ":mod:`socket` — 網路底層介面 "
24
25
25
26
#: ../../library/socket.rst:7
26
27
msgid "**Source code:** :source:`Lib/socket.py`"
@@ -32,12 +33,14 @@ msgid ""
32
33
"on all modern Unix systems, Windows, MacOS, and probably additional "
33
34
"platforms."
34
35
msgstr ""
36
+ "這個模組提供了操作 BSD *socket* 的介面。這在所有現代Unix系統、Windows、"
37
+ "MacOS,以及一些其他平台上都可用。"
35
38
36
39
#: ../../library/socket.rst:16
37
40
msgid ""
38
41
"Some behavior may be platform dependent, since calls are made to the "
39
42
"operating system socket APIs."
40
- msgstr ""
43
+ msgstr "由於是呼叫作業系統的 socket API,某些行為可能會因平台而有所差異。 "
41
44
42
45
#: ../../includes/wasm-notavail.rst:3
43
46
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
@@ -62,22 +65,27 @@ msgid ""
62
65
"meth:`write` operations on Python files, buffer allocation on receive "
63
66
"operations is automatic, and buffer length is implicit on send operations."
64
67
msgstr ""
68
+ "這個 Python 介面是將 Unix 系統呼叫和 socket 模組介面轉變成 Python 物件導向風格"
69
+ "::func:`.socket` 函數回傳一個 :dfn:`socket object`,其方法實現了各種 "
70
+ "socket 系統呼叫。參數類型相對於 C 語言的介面略為高層次:與 Python 文件操作中"
71
+ "的 :meth:`read` 和 :meth:`write` 一樣,接收操作的緩衝區是自動分配的,而在發送"
72
+ "操作的緩衝區長度是隱式的。"
65
73
66
74
#: ../../library/socket.rst:36
67
75
msgid "Module :mod:`socketserver`"
68
76
msgstr ":mod:`socketserver` 模組"
69
77
70
78
#: ../../library/socket.rst:36
71
79
msgid "Classes that simplify writing network servers."
72
- msgstr ""
80
+ msgstr "簡化編寫網路伺服器的類別。 "
73
81
74
82
#: ../../library/socket.rst:38
75
83
msgid "Module :mod:`ssl`"
76
84
msgstr ":mod:`ssl` 模組"
77
85
78
86
#: ../../library/socket.rst:39
79
87
msgid "A TLS/SSL wrapper for socket objects."
80
- msgstr ""
88
+ msgstr "對 socket 物件的 TLS/SSL 的包裝器 (wrapper)。 "
81
89
82
90
#: ../../library/socket.rst:43
83
91
msgid "Socket families"
0 commit comments