LWJGL Forum

Programming => General Java Game Development => Topic started by: betwixt on February 17, 2006, 12:24:45

Title: Networking?
Post by: betwixt on February 17, 2006, 12:24:45
How to make a simple chatroom that would run as an applet? I'm trying to figure out how some simple two-player games are made, like online tic-tac-toe for example. I found an example, but in whatever server I run it, it still displays "There is no connection with serverName". I am trying to understand how to use Socket and ServerSocket, but it's so difficult. It would be really good if I could find a simple example that would work - I'm so desperate 'cause I have been reading long tutorials for hours by now.
Title: Networking?
Post by: Matzon on February 17, 2006, 12:27:55
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
Title: Networking?
Post by: betwixt on February 17, 2006, 12:50:28
Quote from: "Matzon"http://java.sun.com/docs/books/tutorial/networking/sockets/index.html

Thanx, but this is one of those really long tutorials that I've been reading and I'll probably keep on reading over and over again until I will finally understand.
Title: Networking?
Post by: elias4444 on February 20, 2006, 04:45:14
Check out https://javagamenetworking.dev.java.net/
Title: Networking?
Post by: betwixt on February 21, 2006, 14:05:13
Quote from: "elias4444"Check out https://javagamenetworking.dev.java.net/

Uhh... I've spent 1h trying to figure out how to use wincvs to get the code. Isn't there any alternative to download that engine?
Title: Networking?
Post by: elias4444 on February 21, 2006, 16:02:00
Yeah, just download the source or the jar (hit the "Documents & files" link on the left).
Title: Networking?
Post by: betwixt on February 22, 2006, 12:15:26
Quote from: "elias4444"Yeah, just download the source or the jar (hit the "Documents & files" link on the left).

Thank you! Stupid me, always trying the hard way :(