Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f7790c60
Kaydet (Commit)
f7790c60
authored
Kas 18, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document s.connect_ex(), which does not raise an exception on error.
üst
364e643f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
libsocket.tex
Doc/lib/libsocket.tex
+7
-0
libsocket.tex
Doc/libsocket.tex
+7
-0
No files found.
Doc/lib/libsocket.tex
Dosyayı görüntüle @
f7790c60
...
...
@@ -201,6 +201,13 @@ Connect to a remote socket at \var{address}.
(The format of
\var
{
address
}
depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}
{
connect
_
ex
}{
address
}
Likecode
{
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.
\end{funcdesc}
\begin{funcdesc}
{
fileno
}{}
Return the socket's file descriptor (a small integer). This is useful
with
\code
{
select
}
.
...
...
Doc/libsocket.tex
Dosyayı görüntüle @
f7790c60
...
...
@@ -201,6 +201,13 @@ Connect to a remote socket at \var{address}.
(The format of
\var
{
address
}
depends on the address family --- see above.)
\end{funcdesc}
\begin{funcdesc}
{
connect
_
ex
}{
address
}
Likecode
{
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.
\end{funcdesc}
\begin{funcdesc}
{
fileno
}{}
Return the socket's file descriptor (a small integer). This is useful
with
\code
{
select
}
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment