• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with client initialization

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When the client choses Network mode, he has to enter the server host and port. If the user enters a port other than the one on which Rmiregistry is running, I catch the connectException,IOException and display an error message to the user.
When I try to enter a port, which is used by some other application, I get a ConnectIOException and SocketTimeoutException and the system hangs. How to solve this problem. Only for few ports the system hangs. (i.e for example if 1027 and 1030 ports are used by some other application, if I enter 1030 , it catches the connectException and displays a highlevel information to the user. If I enter 1027, it throws ConnectIOException and sockettimeoutexception and the system hangs). Please help.
[ April 11, 2003: Message edited by: Saraswathy Krishnamoorth ]
[ April 11, 2003: Message edited by: Saraswathy Krishnamoorth ]
 
Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic