954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Why does tcp ip socket communication not work in applet?

Hello,

I built a chat application that uses sockets and TCP/IP protocol. The client is an applet. The problem is I cannot connect the applet client with the desktop server application. If I run the applet inside the applet viewer in NetBeans it works perfectly. I even tried the applet loaded from an online server... it just can't connect. It seems to me to be a security limitation but I don't know what to do...

How can I make possible socket communication from the applet?

Thanks.

Clawsy
Posting Whiz in Training
225 posts since Feb 2008
Reputation Points: 11
Solved Threads: 7
 

It's a security issue. The following link should explain things.

http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: