diff options
author | Guido van Rossum <guido@python.org> | 1995-02-28 17:14:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-28 17:14:32 (GMT) |
commit | 8675115e5f55e69fdb30ebba95e7a6a5216e133c (patch) | |
tree | d09dfc7242177a6061808ab9866d418efbeea0ed /Doc/lib/libsocket.tex | |
parent | e4be9be99a7fb0f30e57803fda355321f64b0b05 (diff) | |
download | cpython-8675115e5f55e69fdb30ebba95e7a6a5216e133c.zip cpython-8675115e5f55e69fdb30ebba95e7a6a5216e133c.tar.gz cpython-8675115e5f55e69fdb30ebba95e7a6a5216e133c.tar.bz2 |
a few typographical changes (e.g. -- => ---) and lots of new stuff in the WWW chapter
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r-- | Doc/lib/libsocket.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index 17fb314..25658d9 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -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} |