Hi,
I have no experience with networking in
Java, so I think mine is a newby question.
This is my situation. I'm writing a ping-pong game (
applet) just for practice and learning. And the intention is for two people to compete each one from his computer. The Stream class constructor requires a server name and a port. Since I'd like to connect any two machines to get playing, I do not want to specify the server name at coding-time... How do I handle this?
Thanks a lot,
Jonathas d-_-b