Here's the situation.
Webserver is at one address.
Gamer server is at another address.
UDP operations from the web server itself (php, asp, cf, ect) to the game server are not possible untill a host change comes around.
I'm looking to use a Java applet, or ActiveX control to ask the game server for information about the current game/players with UDP.
I'd like to stick with Java so it's not limited to Internet Explorer without some insane workaround, but since 88% of the sites members/visitors are Internet Explorer users, ActiveX will do.
My issue with Java right now is an access denied java.net.sockets exception being thrown when I try to DatagramSocket.send(packet) to the game server.
I'm assuming this is because the game server is at a different address than the webserver the applet was loaded from.
I tried going through the signing process with jarsigner, but with no success other than a prompt to use my certificate.
Is there anything I can do to allow the applet loaded from the webserver to connect to the game server ?
Now, there is a very basic HTTP server running on the game server for administering the game which is running on a non-standard port.
There's an image directory within that application that does not require authentication to access files from.
If I could place the applet in that images directory on the game server, would I be able to load the applet with an HTML page from the web server & be able to connect back to the game server, or would a difference in ports between what the UDP connects to & what the http application runs on mash that idea too ?
The only thing I've found for ActiveX was a list of udpClient properties that was a few years old with no constructor sample.
I'm open to ideas.
Why yes, yes I am.