TCP Sockets, UDP, RMI??

Aloha,

I have been working on a dutch version of the popular Wheel of Fortune tv show.
It’s more or likely finished now and it allows 1 to 4 players to play on one pc.
jws link: http://www.knot.be/rvf/start.jnlp (it will be difficult to play it if you’re not dutch :slight_smile: )

Now: my problem :stuck_out_tongue: I want to make it a 2-4 player online multiplayer game; I have no experience at all with Java networking :frowning: I guess I will need client and server and make them communicate. I have read a little about tcp sockets and udp and rmi… and I wonder what is the best method? (So I can study the details of that method and look for some tutorials and then implement it)

Or if anyone knows any good tutorials to get me started that would be nice… :slight_smile:

Thanks in advance… knot

Probably since all data sent in Wheel of Fortune is very important you should use TCP sockets since it’s guaranteed to be delivered, here is the tutorial that started me off in tcp networking: http://www.cise.ufl.edu/~amyles/tcpchat/

There’s a very useful thread in our Networking section entitled UDP Vs TCP/IP. This should tell you everything you need to know to make the right decision.

Why not RMI? Is there a good reason to not use it?