×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    12

    What happens when a server my client is connected to on a public IP goes down

    I have written a code using RConnection, RSocket...the standard one... using active scheduler handling all the status completion.. i wish to know if i m communicating with a server on a public ip and if the server program crashes what notification is generated at the client side (i.e. i call RSocket::Read(TDes8& aDesc,TRequestStatus& aStatus) to read the response)

    Please provide certain inputs..

    Thanks & Regards

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: What happens when a server my client is connected to on a public IP goes down

    I Think it gives you 503 (Service Unavailable).

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,688

    Re: What happens when a server my client is connected to on a public IP goes down

    503 would be a HTTP/SIP/etc. application-level error code, so if you get it (as a string), it definitely means that the server still works, though a certain service is unavailable. If the server dies and the socket gets closed, you should rather expect KErrTimedOut or just a simple KErrEof in the status.

Similar Threads

  1. j2se server j2me client bluetooth connection problem
    By bepolat in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2010-07-14, 11:05
  2. SOCKET PROGRAMMING: Client can not connect to server...
    By simbiyan in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2007-04-22, 20:00
  3. how to use udp, for sending data server to client
    By acayir in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-08-02, 19:18
  4. SocketConnection Work on 6600&Emulators BUT NOT IN 6680
    By eerant in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-03-11, 00:35
  5. 关于Float的问题,急死了,各位帮忙一下,谢谢!
    By show_up in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 4
    Last Post: 2004-08-17, 08:57

Posting Permissions

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