File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1923,6 +1923,8 @@ msgid ""
19231923"conditions such as unrelated control messages being received). See also "
19241924":meth:`sendmsg`. ::"
19251925msgstr ""
1926+ "在支持 :const:`SCM_RIGHTS` 机制的系统上,下方的函数将最多接收 *maxfds* "
1927+ "个文件描述符,返回消息数据和包含描述符的列表(同时忽略意外情况,如接收到无关的控制消息)。另请参阅 :meth:`sendmsg`。 ::"
19261928
19271929#: ../../library/socket.rst:1416
19281930msgid ""
@@ -1936,6 +1938,12 @@ msgid ""
19361938"``SC_IOV_MAX``) on the number of buffers that can be used. The *ancbufsize*"
19371939" and *flags* arguments have the same meaning as for :meth:`recvmsg`."
19381940msgstr ""
1941+ "从套接字接收普通数据和辅助数据,其行为与 :meth:`recvmsg` "
1942+ "相同,但将非辅助数据分散到一系列缓冲区中,而不是返回新的字节对象。*buffers* 参数必须是可迭代对象,它迭代出可供写入的缓冲区(如 "
1943+ ":class:`bytearray` "
1944+ "对象),这些缓冲区将被连续的非辅助数据块填充,直到数据全部写完或缓冲区用完为止。在允许使用的缓冲区数量上,操作系统可能会有限制( "
1945+ ":func:`~os.sysconf` 的 ``SC_IOV_MAX`` 值)。*ancbufsize* 和 *flags* 参数的含义与 "
1946+ ":meth:`recvmsg` 中的相同。"
19391947
19401948#: ../../library/socket.rst:1427
19411949msgid ""
You can’t perform that action at this time.
0 commit comments