Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet window opeining without breaking the socket connection

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friends,
I am doing one GUI project which loads an applet and opens a socket connection to server which a c++ module and apache webserver is in middle between webbrowser and the webserver in c++.
Problem is like this, i will open an applet in the sceren and opens a socket connection and receives events and show in applet as table.And there is one 'popout' button to make the applet opens as a window. and continue the existing socket connection and show the received events. But when i tried to open in a new window, and I am able to provide the ip address and port for opening a socket connection it shows exception as "connection refused."


Actually I know how to open in a new window.it is working.Any of you have any idea , how we can project and applet without breaking existing socket connection and opens in a window? Please share your idea and thought about this ASAP.

Thanks in advance
rakesh
 
Rakesh Kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually what i want is project the applet frame without disturbing the socket connection in it. Dear friends if you have any idea pleaseshare ASAP.

Thanks in advance
Rakesh
 
I am Arthur, King of the Britons. And this is a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic