• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
  • Piet Souris
  • Mikalai Zaikin

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

Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
I'm doing laundry! Look how clean this tiny ad is:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic