C++ Client: A Stream-based Peer to Peer Client and Server Service
This example shows how to build a simple Stream-based P2P service.
The example consists of a server and a client; the server essentially exposes a shell to the client.
Usage
nP2PShell <rname> [shell]
<Required Arguments>
<rname> - the rname of the server to connect to
[Optional Arguments]
[shell] - The type of shell you want to offer. For example cmd for win32 or
bash for unix, leave out for client
Application Source Code