Hi, I'm trying to set up a simple online game however I am having trouble with the online part of that statement. What I want to achieve is this:
Every client program is also a server, and someone can start there server by clicking a start game button at the menu. Then this will tell them there ip address on the screen, and they can tell there friend this. The friend should then be able to click join game at the main menu, type their friends ip and be able to play with them. All this should be easily doable with sockets, but heres the cincher: I don't want either user to have to portforward, I want them just to be able to download a jar and click start game. Is there any possible way of doing this? Thankyou very much in advance.