"C-man" <> wrote in message news:<KM2cc.10978$J56.2132@edtnps89>...
> Basically I want to create a battleship game that can be played by having
> two clients connect to it. I was wonder what the best networking principal
> would be. Basically I suppose I would have to pass an int value or something
> representing the x,y coordinates of each shot. Should I use some type of
> Socket programming or RMI or what else should be used|?
>
> Thanks
Unless this is some kind of homework, you could use a toolkit like
SecurePlay -->
www.secureplay.com, which has an open source license. I
haven't tried SecurePlay myself, but it sounds promising.
But if you want to (or have to) develop from scratch, I would suggest
using TCP-communication with sockets. IMO things like RMI bring too
much overhead for your needs.
Martin