network access in an Applet (JSDT?)

hi,

i don’t know if it’s specific to JSDT but i can’t do any networked game within an applet because access within the applet is denied. So I’m wondering about few things:

  • is it a program issue or a host issue?
  • is the solution a work around or should i seek some “compatible” host?
  • anyone having a working multiplayer applet + brief tutorial?

In an Applet you can only connect with the host. You may or may not be able to use UDP. JSDT probably need more than that, and do not work withing applets unless it is signed.

If you want to do multiplayer from an unsigned applet, you will have to create a Server application that runs on the host. Your applet connect to it using TCP/IP.

…then i’ll try to sign it…

I did a JSDT gaming applet in the last millenium…
I can see wether I still find it at home.

You can only contact the host the applet was loaded from, regardless wether you use TCP or UDP.

Those days I experienced heavy problems with the UDP stuff even in a LAN (something like a 100% packet loss :slight_smile: ), so I’d really advise to head for TCP.