• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to connect to the server in Applet, even..

 
Chris Ben
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I try to write an on-line game program, in which an applet is loaded in a browser. The applet will try to connect to a server program in the start() method.
The server program is started in advance, it is in the same directory as the applet in the webserver.
Though I have heard that an applet can connect to a socket to where it is from. My programs failed due to the security problem in the browser. I have tested my programs in the local machine, wheil server program and applet are togeter, and I have tried to write a stand alone client program to connect to the server program at the webserver, everything is fine.
Can anyone tell me the problems?
Thanks a lot
Chris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic