summaryrefslogtreecommitdiffstats
path: root/Doc/mac/libmactcp.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-03-02 16:37:17 (GMT)
committerFred Drake <fdrake@acm.org>1999-03-02 16:37:17 (GMT)
commitf6863c19091ca23ef69db31aa033b5802c2be871 (patch)
tree016349280cb7a4f3d5ba55e74ab58649abb27275 /Doc/mac/libmactcp.tex
parent46a9438c43ae28db0433e5b65352f6b13a5afe63 (diff)
downloadcpython-f6863c19091ca23ef69db31aa033b5802c2be871.zip
cpython-f6863c19091ca23ef69db31aa033b5802c2be871.tar.gz
cpython-f6863c19091ca23ef69db31aa033b5802c2be871.tar.bz2
Added \platform annotations.
Diffstat (limited to 'Doc/mac/libmactcp.tex')
-rw-r--r--Doc/mac/libmactcp.tex26
1 files changed, 13 insertions, 13 deletions
diff --git a/Doc/mac/libmactcp.tex b/Doc/mac/libmactcp.tex
index 48a5a16..e0469d5 100644
--- a/Doc/mac/libmactcp.tex
+++ b/Doc/mac/libmactcp.tex
@@ -1,20 +1,20 @@
\section{\module{mactcp} ---
- The MacTCP interfaces.}
-\declaremodule{builtin}{mactcp}
+ The MacTCP interfaces}
+\declaremodule{builtin}{mactcp}
+ \platform{Mac}
\modulesynopsis{The MacTCP interfaces.}
-
This module provides an interface to the Macintosh TCP/IP driver%
\index{MacTCP} MacTCP. There is an accompanying module,
-\module{macdnr}\refbimodindex{macdnr}, which provides an interface to
-the name-server (allowing you to translate hostnames to IP addresses),
-a module \module{MACTCPconst}\refstmodindex{MACTCPconst} which has
-symbolic names for constants constants used by MacTCP. Since the
-built-in module \module{socket} is also available on the Macintosh it
-is usually easier to use sockets instead of the Macintosh-specific
-MacTCP API.
+\refmodule{macdnr}\refbimodindex{macdnr}, which provides an interface
+to the name-server (allowing you to translate hostnames to IP
+addresses), a module \module{MACTCPconst}\refstmodindex{MACTCPconst}
+which has symbolic names for constants constants used by MacTCP. Since
+the built-in module \module{socket}\refbimodindex{socket} is also
+available on the Macintosh it is usually easier to use sockets instead
+of the Macintosh-specific MacTCP API.
A complete description of the MacTCP interface can be found in the
Apple MacTCP API documentation.
@@ -55,7 +55,7 @@ function with two integer parameters:\ an event code and a detail. This
function will be called upon network-generated events such as urgent
data arrival. Macintosh documentation calls this the
\dfn{asynchronous service routine}. In addition, it is called with
-eventcode \code{MACTCP.PassiveOpenDone} when a \code{PassiveOpen}
+eventcode \code{MACTCP.PassiveOpenDone} when a \method{PassiveOpen()}
completes. This is a Python addition to the MacTCP semantics.
It is safe to do further calls from \var{asr}.
\end{memberdesc}
@@ -70,11 +70,11 @@ calls other than \method{wait()}, \method{isdone()} or
\end{methoddesc}
\begin{methoddesc}[TCP Stream]{wait}{}
-Wait for \code{PassiveOpen} to complete.
+Wait for \method{PassiveOpen()} to complete.
\end{methoddesc}
\begin{methoddesc}[TCP Stream]{isdone}{}
-Return \code{1} if a \code{PassiveOpen} has completed.
+Return \code{1} if a \method{PassiveOpen()} has completed.
\end{methoddesc}
\begin{methoddesc}[TCP Stream]{GetSockName}{}