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
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
s.close()
print 'Received', `data`
\end{verbatim}
-
-\begin{seealso}
- \seemodule{SocketServer}{classes that simplify writing network servers}
-\end{seealso}