None
this should refer to a
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
asynchronous service routine. In addition, it is called with
eventcode MACTCP.PassiveOpenDone
when a PassiveOpen()
completes. This is a Python addition to the MacTCP semantics.
It is safe to do further calls from asr.
1
if a PassiveOpen() has completed.
(host, port)
, both integers.
(host,
rport)
. Use
local port lport (zero makes the system pick a free port). This
call blocks until the connection has been established.
(data, urgent, mark)
. If urgent data is
outstanding Rcv
will always return that before looking at any
normal data. The first call returning urgent data will have the
urgent flag set, the last will have the mark flag set.
See About this document... for information on suggesting changes.