Universal Messaging C++ Client: An Event-based Peer to Peer Client and Server Service
This example shows how to build a simple Event-based P2P Service.
The example consists of a server and a client; the server will echo anything typed by the client.
Usage
nP2PEcho <rname> [server]
<Required Arguments>
<rname> - the rname of the server to connect to
[Optional Arguments]
[server] - write 'server' to run echo server, or leave out to run echo client
Application Source Code