Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 13386:3f08bedc1c26 legacy-trunk
Clean up markup to be more like recommended practice; only small changes
needed.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 06 Jul 2000 18:37:08 +0000 |
| parents | d37374552a15 |
| children | 591afe2fc823 |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Thu Jul 06 18:14:03 2000 +0000 +++ b/Doc/lib/libsocket.tex Thu Jul 06 18:37:08 2000 +0000 @@ -230,6 +230,12 @@ It is the same as \code{type(socket(...))}. \end{datadesc} + +\begin{seealso} + \seemodule{SocketServer}{Classes that simplify writing network servers.} +\end{seealso} + + \subsection{Socket Objects \label{socket-objects}} Socket objects have the following methods. Except for @@ -393,8 +399,8 @@ use \method{recv()} and \method{send()} without \var{flags} argument instead. -\subsection{Example} -\nodename{Socket Example} + +\subsection{Example \label{socket-example}} Here are two minimal example programs using the TCP/IP protocol:\ a server that echoes all data that it receives back (servicing only one @@ -436,7 +442,3 @@ s.close() print 'Received', `data` \end{verbatim} - -\begin{seealso} - \seemodule{SocketServer}{classes that simplify writing network servers} -\end{seealso}
