Int 61 Fn 1F - Pc/tcp Kernel V2.05+ - "net_asynch" - Set Up Asynchronous [N]
AH = 1Fh
BX = network descriptor
CX = event type (see #3137)
DS:SI -> event handler routine (see #3138)
ES:DI = 32-bit hint passed to handler
Return: CF clear if successful
DS:DX -> previous handler
CF set on error
AX = error code (see #2990 at INT 61"FTP Software")
Note: ICMP messages do not trigger events on stream connections
See Also: INT 61"FTP Software",INT 61/AH=00h"PC/TCP"
(Table 3137)
Values for PC/TCP event type:
00h alarm
01h open (successfully opened stream connection)
02h receive (data available)
03h transmit (ACK received on stream connection)
04h transmit flush???
05h foreign close (remote host closed data connection)
06h close (local host closed connection and protocol is complete)
07h error (error code passed to handler as arg)
(Table 3138)
Values PC/TCP user event handler is called with:
BX = network descriptor
CX = event type (see #3137)
DS:DX -> arg
ES:DI = 32-bit hint value
STACK: small stack, possibly the DOS stack