|
We
start the DataServer
on one machine (here we ran both client and server on same machine from
separate DOS windows).
It
sits waiting for clients to arrive.
The
client starts on another
machine (or here another DOS window):

A simple
login in process then occurs, where the server
sends a username string and the client responds with a name string:

Another
client could also request a connection to the server at this point:

Both
the client and the server assign an instances of a thread subclass, DataReader
and DataServer
resp., to their socket:

The
DataSender
could grab data from a file and send it to
the DataClient
where the DataReader
can process it:

|