Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User noksi's Avatar
    Join Date
    Nov 2011
    Posts
    11
    Is it possible to set timeout for http connection? And is it possible to stop http connection? I try few things but they didn't work.

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello noksi,

    according to the MIDP 2.x specification (which is the basic specification for all Java MIDlets) and I quote:

    public static javax.microedition.io.Connection open(String name, int mode, boolean timeouts)
    throws java.io.IOException

    Create and open a Connection.

    Parameters:
    name - The URL for the connection
    mode - The access mode
    timeouts - A flag to indicate that the caller wants timeout exceptions
    Regards,
    r2j7

Similar Threads

  1. HTTP Example client handling of Network Timeout
    By yannifan in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2010-07-18, 17:29
  2. Timeout for http transation
    By swapnil_mahajan in forum Symbian C++
    Replies: 4
    Last Post: 2009-09-22, 12:03
  3. Http timeout
    By earamsey in forum Mobile Java General
    Replies: 0
    Last Post: 2007-09-10, 18:12
  4. Http timeout settings
    By dancin_brain in forum Symbian C++
    Replies: 1
    Last Post: 2007-02-28, 04:47
  5. http post timeout
    By cjmarsha in forum Mobile Java General
    Replies: 0
    Last Post: 2005-07-27, 22:27

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