PDA

View Full Version : Cross-LAN programs?



soluphobe
November 21st, 2007, 10:13 PM
Hi, All,

I've written a Java implementation of Stratego. I'm not ready to handle the AI yet (which is going to be a MAJOR pain), so I'd just like to set it up over a LAN or something so I can play with friends. Is there a way to get Java to go cross-machine for the program? Thanks!

CptPicard
November 21st, 2007, 10:24 PM
Sure. Find "Socket" and "ServerSocket" in the Java API.

soluphobe
November 21st, 2007, 11:17 PM
Great! Thanks a ton!