I want to make a sort of game lobby for a chess game. After two computers have a connection with eachother I guess it wouldn't be much harder than just sending a string from one computer to another but the problem lies in showing who wants to play and getting the IP address of that person (I can't possible expect from the user to know the other person's IP, that wouldn't be very user-friendly).
Personally I thought of having the names and IP's of the potential players on the Internet. When the user wants to play a game against someone, the program just adds the name and IP of the user, reads the rest of the names and shows them. When the suer has selected a person to play with a request for a game is then send etc...
I thought that a database placed online would do this (which should be free, easy access to it with a program and doesn't
require my computer to be on all the time) but so far I had no success...
Or maybe there's another way? How do other games have multiplayer? (note: I'm not going buy anything (soft- or hardware))
Loading

Roy S194 reputationPosted Jun 10, 2010, 6:22 AM EDT
BUMP
Mahesh ChandRank #1 · 393.3K reputationPosted Jun 10, 2010, 7:21 AM EDT
Try Networking section of this site (Left bar from home page) to see some server based applications.
Good luck!
Mike GoldRank #50 · 30.6K reputationPosted Jun 10, 2010, 7:28 AM EDT
Roy S194 reputationPosted Jun 10, 2010, 8:27 AM EDT
Mahesh ChandRank #1 · 393.3K reputationPosted Jun 10, 2010, 10:19 AM EDT
As Mike suggested, if you compunter-to-computer direct communication, you can do it using TCP/IP but for that both computers have to open communication ports and have to give each other their IP information.