Peer to peer text chat
I am just experimenting with Java (I am much more familiar with c++). I am trying to build a peer to peer system that my friends and I can use to communicate simple text chat. I already have the list of pre-determined IP addresses (I don't need to be able to locate hosts or anything).
What I need:
- open up a port on computer
- open up a socket to same port number on xx.xx.xx.xx
- simple consle based text chat (one peer to one peer at a time. don't need group chat.)
Think you could help me out anyone?
Thanks a lot!
Socket (Java Platform SE 6) should have much of what you want.
Also do a search Here or with Google on code samples that use Socket