Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

determine which port applet is coming through

Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have an applet we have had on our website for a long time, and now a user is asking what port they need to open up on their network in order to allow the applet to function in their browser. The applet writer is gone, but the code looks really simple--it just loads in the browser, and upon init, it reads the images that were passed to it as parameters, so I'm really not sure what port it would be going through on the client's browser's computer or network. Does the Applet class just look for a random port by default so that we would we have to specify it explicitly if we wanted to know for sure what port it would be, or what?

[ November 18, 2004: Message edited by: Stephen Huey ]
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!