Applets and networking

Hi there,
I’m quite new to java and just started to experiment. Now I decided to write an game applet. This should be a two player game (as chess for example) each one sitting in front of a PC with a connection to the server.

I thought first that I should use sockets … but then I read that using sockets with applets isnt’ appropriate … Now I’m a little bit confused how I should write the networking part of the game. Waiting for some advise. TIA ???

Sockets are OK, as long as the destination is the same server where the applet comes from. Otherwise there are security issues.

gr8 timing :slight_smile:

i’ve just started an ambitious project to create a multiplayer! top-down shooter signature!! :slight_smile:
(won’t work on these forums - but will on others :))

I can assure you sockets work fine; so long as you are connecting to the server from which the Applet originated.

Sussed it in 30mins 8) oh how beautiful javas net code is. (and whats more amazing… i’d never done any net stuff b4 in my life :))

Abit cu-fuddled about the NIO stuff - but I don’t think that will be an issue for a simple ~10client multiplayer game.