From 39960f6ec9ea90be73c2fbeaeda8eb7119921389 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 22 Dec 2001 19:07:58 +0000 Subject: Fix the erroneous availability annotation for s.makefile() from the last checkin (my fault!). Wrap some long lines and fix some markup inconsistencies. --- Doc/lib/libsocket.tex | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index b067f97..97c5184 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -140,6 +140,7 @@ used for the second argument to \function{socket()}. \dataline{EAI_*} \dataline{AI_*} \dataline{NI_*} +\dataline{TCP_*} Many constants of these forms, documented in the \UNIX{} documentation on sockets and/or the IP protocol, are also defined in the socket module. They are generally used in arguments to the \method{setsockopt()} and @@ -325,8 +326,9 @@ If the IPv4 address string passed to this function is invalid, valid depends on the underlying C implementation of \cfunction{inet_aton()}. -\function{inet_aton} does not support IPv6, and -\function{getnameinfo()} should be used instead for IPv4/v6 dual stack support. +\function{inet_aton()} does not support IPv6, and +\function{getnameinfo()} should be used instead for IPv4/v6 dual stack +support. \end{funcdesc} \begin{funcdesc}{inet_ntoa}{packed_ip} @@ -341,8 +343,9 @@ for the 32-bit packed binary this function takes as an argument. If the string passed to this function is not exactly 4 bytes in length, \exception{socket.error} will be raised. -\function{inet_ntoa} does not support IPv6, and -\function{getnameinfo()} should be used instead for IPv4/v6 dual stack support. +\function{inet_ntoa()} does not support IPv6, and +\function{getnameinfo()} should be used instead for IPv4/v6 dual stack +support. \end{funcdesc} \begin{datadesc}{SocketType} @@ -455,7 +458,6 @@ closed or garbage-collected independently. and \var{bufsize} arguments are interpreted the same way as by the built-in \function{file()} function; see ``Built-in Functions'' (section \ref{built-in-funcs}) for more information. -Availability: \UNIX. \end{methoddesc} \begin{methoddesc}[socket]{recv}{bufsize\optional{, flags}} -- cgit v0.12