I'm coding a socket program using VaJava 4.0.
I met a problem which was that I could't establish the connection between the socket server and the client that was an
applet. I have been successfully running the server to listen, but when I used "new Socket(host, port)" to get a socket instance, an AccessControlException was thrown, which was associated with a SecurityPermission object. Then I assigned the previlege by calling function AccessController.doPrivileged, but it didn't work. Would you please help me? Thank you!