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
1566a1d7
Kaydet (Commit)
1566a1d7
authored
Ock 07, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added index entry for the protocol.
Fixed typo (extra char in the word "character"). Minor nits.
üst
15bac5d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
libgopherlib.tex
Doc/lib/libgopherlib.tex
+8
-7
libgopherlib.tex
Doc/libgopherlib.tex
+8
-7
No files found.
Doc/lib/libgopherlib.tex
Dosyayı görüntüle @
1566a1d7
\section
{
Standard Module
\sectcode
{
gopherlib
}}
\label
{
module-gopherlib
}
\stmodindex
{
gopherlib
}
\indexii
{
Gopher
}{
protocol
}
\renewcommand
{
\indexsubitem
}{
(in module gopherlib)
}
...
...
@@ -10,16 +11,16 @@ URLs that use the Gopher protocol.
The module defines the following functions:
\begin{funcdesc}
{
send
_
selector
}{
selector
\,
host
\optional
{
\
,
port
}}
\begin{funcdesc}
{
send
_
selector
}{
selector
, host
\optional
{
, port
}}
Send a
\var
{
selector
}
string to the gopher server at
\var
{
host
}
and
\var
{
port
}
(default
70). Return an open file object from which the
returned document can be read.
\var
{
port
}
(default
\code
{
70
}
). Returns an open file object from
which the
returned document can be read.
\end{funcdesc}
\begin{funcdesc}
{
send
_
query
}{
selector
\,
query
\,
host
\optional
{
\
,
port
}}
\begin{funcdesc}
{
send
_
query
}{
selector
, query, host
\optional
{
, port
}}
Send a
\var
{
selector
}
string and a
\var
{
query
}
string to a gopher
server at
\var
{
host
}
and
\var
{
port
}
(default
70). Return an open file
object from which the returned document can be read.
server at
\var
{
host
}
and
\var
{
port
}
(default
\code
{
70
}
). Returns an
o
pen file o
bject from which the returned document can be read.
\end{funcdesc}
Note that the data returned by the Gopher server can be of any type,
...
...
@@ -27,5 +28,5 @@ depending on the first character of the selector string. If the data
is text (first character of the selector is
\samp
{
0
}
), lines are
terminated by CRLF, and the data is terminated by a line consisting of
a single
\samp
{
.
}
, and a leading
\samp
{
.
}
should be stripped from
lines that begin with
\samp
{
..
}
. Directory listings (first charact
g
er
lines that begin with
\samp
{
..
}
. Directory listings (first character
of the selector is
\samp
{
1
}
) are transferred using the same protocol.
Doc/libgopherlib.tex
Dosyayı görüntüle @
1566a1d7
\section
{
Standard Module
\sectcode
{
gopherlib
}}
\label
{
module-gopherlib
}
\stmodindex
{
gopherlib
}
\indexii
{
Gopher
}{
protocol
}
\renewcommand
{
\indexsubitem
}{
(in module gopherlib)
}
...
...
@@ -10,16 +11,16 @@ URLs that use the Gopher protocol.
The module defines the following functions:
\begin{funcdesc}
{
send
_
selector
}{
selector
\,
host
\optional
{
\
,
port
}}
\begin{funcdesc}
{
send
_
selector
}{
selector
, host
\optional
{
, port
}}
Send a
\var
{
selector
}
string to the gopher server at
\var
{
host
}
and
\var
{
port
}
(default
70). Return an open file object from which the
returned document can be read.
\var
{
port
}
(default
\code
{
70
}
). Returns an open file object from
which the
returned document can be read.
\end{funcdesc}
\begin{funcdesc}
{
send
_
query
}{
selector
\,
query
\,
host
\optional
{
\
,
port
}}
\begin{funcdesc}
{
send
_
query
}{
selector
, query, host
\optional
{
, port
}}
Send a
\var
{
selector
}
string and a
\var
{
query
}
string to a gopher
server at
\var
{
host
}
and
\var
{
port
}
(default
70). Return an open file
object from which the returned document can be read.
server at
\var
{
host
}
and
\var
{
port
}
(default
\code
{
70
}
). Returns an
o
pen file o
bject from which the returned document can be read.
\end{funcdesc}
Note that the data returned by the Gopher server can be of any type,
...
...
@@ -27,5 +28,5 @@ depending on the first character of the selector string. If the data
is text (first character of the selector is
\samp
{
0
}
), lines are
terminated by CRLF, and the data is terminated by a line consisting of
a single
\samp
{
.
}
, and a leading
\samp
{
.
}
should be stripped from
lines that begin with
\samp
{
..
}
. Directory listings (first charact
g
er
lines that begin with
\samp
{
..
}
. Directory listings (first character
of the selector is
\samp
{
1
}
) are transferred using the same protocol.
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