Networking?

Started by betwixt, February 17, 2006, 12:24:45

Previous topic - Next topic

betwixt

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.


betwixt

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.

elias4444

=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

betwixt

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?

elias4444

Yeah, just download the source or the jar (hit the "Documents & files" link on the left).
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

betwixt

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 :(