×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    How to avoid KErrDisconnected!

    Hello guys,

    I received this error code in the
    MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
    function call.

    Searching SDK, results: a function could not be executed because the required session was disconnected.

    How can i avoid this error and what is the most expected part generate this error?


    Thanks in advance.
    Regards,
    Leonard

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to avoid KErrDisconnected!

    You should re-check what you are doing, drop of connection is mostly originating from outside, not your code and not the device itself. The server and/or the communication channel have some problems.

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    Re: How to avoid KErrDisconnected!

    Thank you wizard,

    I will check this and let you know.
    Regards,
    Leonard

  4. #4
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: How to avoid KErrDisconnected!

    Hi,
    As wizard_hu has mentioned that error like KErrDisconnected are coming from the socket so there is not much you can do about it if the connection is already dropped at the max you can again try to connect on the same port. But while working on Sockets I came upon a interesting feature that a certain amount of inactivity period on the port also results in this error code. May be it is just one-off cases but at least it happened in my case.
    Maximus
    S60 Developer
    Impossible is nothing

Similar Threads

  1. Avoid J2ME Application hide on (END) Key.
    By Amit21 in forum Mobile Java General
    Replies: 2
    Last Post: 2008-01-25, 08:53
  2. Avoid "Connected to" notification in 6230
    By edazcnokia in forum Bluetooth Technology
    Replies: 2
    Last Post: 2006-09-25, 17:54
  3. Replies: 1
    Last Post: 2005-10-27, 22:52
  4. How to avoid black areas in GIF-animations?
    By MobileVisuals in forum Streaming and Video
    Replies: 0
    Last Post: 2005-04-26, 18:45
  5. Avoid repling back to the sms
    By sunil_90 in forum General Messaging
    Replies: 1
    Last Post: 2002-12-17, 06:14

Posting Permissions

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