diff options
author | Dave Cole <djc@object-craft.com.au> | 2004-08-09 04:51:41 (GMT) |
---|---|---|
committer | Dave Cole <djc@object-craft.com.au> | 2004-08-09 04:51:41 (GMT) |
commit | 331708b226db74e745ef9972f9d4177348e4399d (patch) | |
tree | d0fece579509cedd357e981e2213cebf1e241967 /Doc/lib | |
parent | 80e53141b9227c39b7edb4677b8b1c14551866ec (diff) | |
download | cpython-331708b226db74e745ef9972f9d4177348e4399d.zip cpython-331708b226db74e745ef9972f9d4177348e4399d.tar.gz cpython-331708b226db74e745ef9972f9d4177348e4399d.tar.bz2 |
Patch #1003700: Add socketpair function to socket module.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libsocket.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index f78ad2f..06d2645 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -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, |