can a applet open socket connection to the server?
+2
A:
Untrusted applets can only communicate back to the server from which they came (the host that delivered the .class files). If you need to communicate with another server, you'll either have to sign your applet (and the user will have to trust you), or setup a proxy server on your web server to facility the communication between hosts.
So yes you can open a socket to your own server.
Resources :
Colin Hebert
2010-09-07 17:17:28