next up previous contents
Next: Asynchronous RPC Up: A talk program Previous: Implementation

Usage

The first Talk2 program would be started like this

     % talk2 -n Mike -p 1234
It will announce ``My program number is 1234".

Suppose the first one is on machine host1, we can talk with it by

    %talk2 -n Dave -p 2345 -P 1234 -c host1

Now both Mike and Dave can type in messages on their terminal and talk to each other.

Our 100 line Talk2 is not intended to be a replacement for the existing talk program. But you can make it comparable in functionality with talk by writing more code. How good it can be is only limited by your C/C++ skills, not by your knowledge of networking or things like that.



Copyright (C) Netbula LLC, 1996