diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index 8f6df692e7c..8dc7acf36e4 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -215,7 +215,7 @@ Connect to a remote socket at \var{address}. \end{funcdesc} \begin{funcdesc}{connect_ex}{address} -Likecode{connect(\var{address})}, but return an error indicator +Like \code{connect(\var{address})}, but return an error indicator instead of raising an exception. The error indicator is 0 if the operation succeeded, otherwise the value of the \code{errno} variable. This is useful e.g. for asynchronous connects. diff --git a/Doc/libsocket.tex b/Doc/libsocket.tex index 8f6df692e7c..8dc7acf36e4 100644 --- a/Doc/libsocket.tex +++ b/Doc/libsocket.tex @@ -215,7 +215,7 @@ Connect to a remote socket at \var{address}. \end{funcdesc} \begin{funcdesc}{connect_ex}{address} -Likecode{connect(\var{address})}, but return an error indicator +Like \code{connect(\var{address})}, but return an error indicator instead of raising an exception. The error indicator is 0 if the operation succeeded, otherwise the value of the \code{errno} variable. This is useful e.g. for asynchronous connects.