None this should point 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. 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 the asr.
wait, isdone or GetSockName before the call
completes.
PassiveOpen to complete.
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.