Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 21528:ac3ce1faec68 legacy-trunk
Fix the erroneous availability annotation for s.makefile() from the last
checkin (my fault!).
Wrap some long lines and fix some markup inconsistencies.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 22 Dec 2001 19:07:58 +0000 |
| parents | e0a5d16a9cb9 |
| children | 77154cef29d1 |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Sat Dec 22 15:23:50 2001 +0000 +++ b/Doc/lib/libsocket.tex Sat Dec 22 19:07:58 2001 +0000 @@ -140,6 +140,7 @@ \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 @@ 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 @@ 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 @@ 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}}
