diff Doc/lib/libsocket.tex @ 33063:90da70986407 legacy-trunk

Patch #1003700: Add socketpair function to socket module.
author Dave Cole <djc@object-craft.com.au>
date Mon, 09 Aug 2004 04:51:41 +0000
parents d8abf582f893
children 03043b288b28
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex	Mon Aug 09 04:34:45 2004 +0000
+++ b/Doc/lib/libsocket.tex	Mon Aug 09 04:51:41 2004 +0000
@@ -303,6 +303,14 @@
 \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,