mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Patch #1003700: Add socketpair function to socket module.
This commit is contained in:
parent
80e53141b9
commit
331708b226
7 changed files with 130 additions and 0 deletions
|
@ -303,6 +303,14 @@ success, a new \class{SSLObject} is returned.
|
|||
\warning{This does not do any certificate verification!}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{socketpair}{\optional{family\optional{, type\optional{, proto}}}}
|
||||
Build a pair of connected socket objects using the given address
|
||||
family, socket type and protocol number. Address family, socket type
|
||||
and protocol number are as for the \function{socket()} function above.
|
||||
Availability: \UNIX.
|
||||
\versionadded{2.3}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{fromfd}{fd, family, type\optional{, proto}}
|
||||
Build a socket object from an existing file descriptor (an integer as
|
||||
returned by a file object's \method{fileno()} method). Address family,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue