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
aa7524cf
Kaydet (Commit)
aa7524cf
authored
Tem 06, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up markup to be more like recommended practice; only small changes
needed.
üst
1a104006
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
libsocket.tex
Doc/lib/libsocket.tex
+8
-6
No files found.
Doc/lib/libsocket.tex
Dosyayı görüntüle @
aa7524cf
...
@@ -230,6 +230,12 @@ This is a Python type object that represents the socket object type.
...
@@ -230,6 +230,12 @@ This is a Python type object that represents the socket object type.
It is the same as
\code
{
type(socket(...))
}
.
It is the same as
\code
{
type(socket(...))
}
.
\end{datadesc}
\end{datadesc}
\begin{seealso}
\seemodule
{
SocketServer
}{
Classes that simplify writing network servers.
}
\end{seealso}
\subsection
{
Socket Objects
\label
{
socket-objects
}}
\subsection
{
Socket Objects
\label
{
socket-objects
}}
Socket objects have the following methods. Except for
Socket objects have the following methods. Except for
...
@@ -393,8 +399,8 @@ Note that there are no methods \method{read()} or \method{write()};
...
@@ -393,8 +399,8 @@ Note that there are no methods \method{read()} or \method{write()};
use
\method
{
recv()
}
and
\method
{
send()
}
without
\var
{
flags
}
argument
use
\method
{
recv()
}
and
\method
{
send()
}
without
\var
{
flags
}
argument
instead.
instead.
\subsection
{
Example
}
\
nodename
{
Socket Example
}
\
subsection
{
Example
\label
{
socket-example
}
}
Here are two minimal example programs using the TCP/IP protocol:
\
a
Here are two minimal example programs using the TCP/IP protocol:
\
a
server that echoes all data that it receives back (servicing only one
server that echoes all data that it receives back (servicing only one
...
@@ -436,7 +442,3 @@ data = s.recv(1024)
...
@@ -436,7 +442,3 @@ data = s.recv(1024)
s.close()
s.close()
print 'Received', `data`
print 'Received', `data`
\end{verbatim}
\end{verbatim}
\begin{seealso}
\seemodule
{
SocketServer
}{
classes that simplify writing network servers
}
\end{seealso}
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