• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Socket Applets

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How Can I use Applet(NOT APPLICATION) to open sockets for any server?\
Thanks in advance,
Angela
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Angela Jessi
its security policy of VM which doesnot allow applet to make a socket with server on client machine....
any how if we would change the policy of VM or award permissions to browser or VM then it would be possible to get connected with server...
plz tell me if U get some more stuff in this regard
 
Anil Sadi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Angela Jessi,

You can open the socket connection to server from where ur applet downloaded from. You can connect to any server by giving some permissions through a policy file.
You can give permission through policytool
Bye
Anil
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anil & Maaten,
I really appreciate your response.
Please let me know how to use permission and policytool?
Secondly, I tested following yesterday in which I got success.
I had my own IIS server in which I stored my Applet(indirectly client socket program) and Html.
I have created server application(NOT APPLET) program which can listen to applet program. So When on my browser, when I typed in IP address and html form(which consist of APplet)of IIS server, I could able to see applet and also was able to open the socket of the server and update the values.
Thanks,
Angela

 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anil S,
Please read and follow the nameing policy Here It can benefit you in a lot of ways. We do book giveaways the information on that is Here
Looking forward to your posts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic