summaryrefslogtreecommitdiffstats
path: root/Doc/libsocket.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/libsocket.tex')
-rw-r--r--Doc/libsocket.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/libsocket.tex b/Doc/libsocket.tex
index 17fb314..25658d9 100644
--- a/Doc/libsocket.tex
+++ b/Doc/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}