• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use DatagramSocket in Applet???

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got an SecurityException when i initializing a DatagramSocket object, how to use it in Applet without changing the policy file???
 
Joe Ess
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets can only open network connections back to the server they were downloaded from. This is to protect the client from malicious applications.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic