Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    Thank you wizard,

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

  4. #4
    Registered User yogpan's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved