Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a871c2e commit b0bc7f2Copy full SHA for b0bc7f2
1 file changed
Doc/lib/libsocket.tex
@@ -233,7 +233,9 @@ \subsection{Socket Objects}
233
234
\begin{methoddesc}[socket]{connect_ex}{address}
235
Like \code{connect(\var{address})}, but return an error indicator
236
-instead of raising an exception. The error indicator is 0 if the
+instead of raising an exception for errors returned by the C-level
237
+\cfunction{connect()} call (other problems, such as ``host not found,''
238
+can still raise exceptions). The error indicator is \code{0} if the
239
operation succeeded, otherwise the value of the \cdata{errno}
240
variable. This is useful, e.g., for asynchronous connects.
241
\end{methoddesc}
0 commit comments