×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    3

    How to detect when the socket server is down???

    HELP!!!!
    I just done a J2ME Socket Application and success connect to my server. The problem is when I connected to Server via Socket connection and I stop to run the Socket Server, the application didnt show any error and just waiting there. Can I know have any code to detect whether the client side still connecting to server.

    Thanks...


    Winner

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    3

    Re: How to detect when the socket server is down???

    No body can answer me or my question is not clear enuff?

  3. #3
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to detect when the socket server is down???

    hi Winner,

    welcome aboard!


    not sure (haven't wrote any persinstant socket app yet - but working on that): shouldn't be:
    java.io.IOException
    trhown on any method which uses connection (directly or using streams) in case it was closed?

    regards,
    Peter

  4. #4
    (Retired) Nokia Developer Admin.
    Join Date
    Jan 2006
    Location
    Michigan
    Posts
    4,664

    Re: How to detect when the socket server is down???

    Peter,

    Contact me

    Ron

Similar Threads

  1. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  2. Socket problem
    By defragger in forum Symbian
    Replies: 0
    Last Post: 2005-08-25, 08:16
  3. socket server application using Series 60 SDK
    By irohit in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-09-16, 05:27
  4. Detect socket lost
    By jvalkeal in forum Symbian
    Replies: 0
    Last Post: 2003-03-12, 17:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×