Class: TCPClientHandler
Superclasses:
Syntax:
set h [new TCPClientHandler]
Description:
This class implements a handler for TCP Clients.
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 TCPClientChannel below.
Class: TCPClientChannel
Superclasses:
Syntax:
set c [new TCPClientChannel]
Description:
This class implements a TCP channel for TCP Clients.
Methods
open:
$c open $addr $port
Opens a socket on the specified address and port.
close:
$c close
Closes the socket.
Related Objects:
TCP Server Objects
Putting it all together