40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
|
|
Tcl-DP: N-way Text-based Conferencing Example
|
|
|
|
This example creates a conference application, similar to CB radio,
|
|
where anyone can speak and everyone hears.
|
|
|
|
room.tcl -- the conferencing server, a room where conference
|
|
may take place.
|
|
|
|
enter.tcl -- the conferencing client, that enters a room.
|
|
|
|
After setting up the room and after clients have entered that room,
|
|
clients can type "say string," as in "say hello world!," to talk to
|
|
other participants. The server will repeat the message to all clients.
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
To run a conferencing server...
|
|
|
|
Run wish.
|
|
Type "source room.tcl" and answer the questions.
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
To start a conferencing client...
|
|
|
|
Run wish.
|
|
Type "source enter.tcl" and answer the questions.
|
|
Type "help" for on-line help.
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
Experiment and run the conferencing client several times, to
|
|
represent many people in a conference.
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
|
|
|