C/S or P2P Chatting is a sample code that allows users to connect to server, chat with each other and even create a private session for more private chatting.
C/S or P2P Chatting is a program that uses the following functions.
Communication between server and client or peer-to-peer.
Create or destroy peer-to-peer group
How to use
First start the server after building the program. The server is located under Chat/ChatServer.
Run the client from Chat/ChatClient folder.
When the client is running, insert the address of server and your preferred name on logon window. Then the following user interface will appear.
At the chatting window, you type in and start chatting.
Select at least one user from the user list in the right then clicks on “Create a P2P session”. You will be automatically invited to the private chatting session.
For more detailed instructions of using this sample code, please watch the tutorial video from Nettention website, http://www.nettention.com/sample.
Or you can refer to <installed>/sample/chat.