• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
Chris
 
Goodbye moon men. Hello tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic