Class: TCPServerHandler
Superclasses:
Syntax:
set h [new TCPServerHandler]
Description:
This class implements a handler for a TCP Server.
Methods
reset:
$h reset
Sets the channel to 0. Call this when exiting.
channel:
1. $h channel $c
or 2. set cc [$h channel]
Set or query this handler's assigned channel. See TCPServerChannel below.
Class: TCPServerChannel
Superclasses:
Syntax:
set c [new TCPServerChannel]
Description:
This class implements a TCP channel for a TCP Server.
Methods
open:
$c open $addr $port
Opens a socket on the specified address and port.
Related Objects:
TCP Client Objects
Putting it all together