\end{funcdesc}
\begin{funcdesc}{bind}{address}
-Bind the socket to an address. The socket must not already be bound.
+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.)
\end{funcdesc}
\begin{funcdesc}{close}{}
\end{funcdesc}
\begin{funcdesc}{connect}{address}
-Connect to a remote socket.
+Connect to a remote socket at \var{address}.
+(The format of \var{address} depends on the address family -- see above.)
\end{funcdesc}
\begin{funcdesc}{fileno}{}
\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 --
+see above.)
\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 --
+see above.)
\end{funcdesc}
\begin{funcdesc}{getsockopt}{level\, optname\, buflen}
\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.)
\end{funcdesc}
\begin{funcdesc}{send}{string}
Send data to the socket. The socket should not be connected to a
remote socket, since the destination socket is specified by
\code{address}.
+(The format of \var{address} depends on the address family -- see above.)
\end{funcdesc}
\begin{funcdesc}{setsockopt}{level\, optname\, value}
\end{funcdesc}
\begin{funcdesc}{bind}{address}
-Bind the socket to an address. The socket must not already be bound.
+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.)
\end{funcdesc}
\begin{funcdesc}{close}{}
\end{funcdesc}
\begin{funcdesc}{connect}{address}
-Connect to a remote socket.
+Connect to a remote socket at \var{address}.
+(The format of \var{address} depends on the address family -- see above.)
\end{funcdesc}
\begin{funcdesc}{fileno}{}
\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 --
+see above.)
\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 --
+see above.)
\end{funcdesc}
\begin{funcdesc}{getsockopt}{level\, optname\, buflen}
\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.)
\end{funcdesc}
\begin{funcdesc}{send}{string}
Send data to the socket. The socket should not be connected to a
remote socket, since the destination socket is specified by
\code{address}.
+(The format of \var{address} depends on the address family -- see above.)
\end{funcdesc}
\begin{funcdesc}{setsockopt}{level\, optname\, value}