a few typographical changes (e.g. -- => ---) and lots of new stuff in the WWW chapter

This commit is contained in:
Guido van Rossum 1995-02-28 17:14:32 +00:00
parent e4be9be99a
commit 8675115e5f
46 changed files with 958 additions and 60 deletions

View file

@ -152,7 +152,7 @@ to the socket on the other end of the connection.
\begin{funcdesc}{bind}{address}
Bind the socket to \var{address}. The socket must not already be bound.
(The format of \var{address} depends on the address family -- see above.)
(The format of \var{address} depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}{close}{}
@ -163,7 +163,7 @@ Sockets are automatically closed when they are garbage-collected.
\begin{funcdesc}{connect}{address}
Connect to a remote socket at \var{address}.
(The format of \var{address} depends on the address family -- see above.)
(The format of \var{address} depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}{fileno}{}
@ -174,14 +174,14 @@ with \code{select}.
\begin{funcdesc}{getpeername}{}
Return the remote address to which the socket is connected. This is
useful to find out the port number of a remote IP socket, for instance.
(The format of the address returned depends on the address family --
(The format of the address returned depends on the address family ---
see above.) On some systems this function is not supported.
\end{funcdesc}
\begin{funcdesc}{getsockname}{}
Return the socket's own address. This is useful to find out the port
number of an IP socket, for instance.
(The format of the address returned depends on the address family --
(The format of the address returned depends on the address family ---
see above.)
\end{funcdesc}
@ -224,7 +224,7 @@ Receive data from the socket. The return value is a pair
\code{(\var{string}, \var{address})} where \var{string} is a string
representing the data received and \var{address} is the address of the
socket sending the data.
(The format of \var{address} depends on the address family -- see above.)
(The format of \var{address} depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}{send}{string}
@ -236,7 +236,7 @@ socket. Return the number of bytes sent.
Send data to the socket. The socket should not be connected to a
remote socket, since the destination socket is specified by
\code{address}. Return the number of bytes sent.
(The format of \var{address} depends on the address family -- see above.)
(The format of \var{address} depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}{setblocking}{flag}