Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User Vazde's Avatar
    Join Date
    Mar 2008
    Posts
    1
    Ok, I've been developing a media remote controlling application on pyS60, and I'm having a problem with timeouts, so is there a way to manually adjust timeout value to something like 4 seconds? On Windows(and Linux also?) I could just write
    import socket
    socket.setdefaulttimeout(4)
    but on pyS60 that is impossible. Is there a way?

  2. #2
    Regular Contributor nokia_e70's Avatar
    Join Date
    Mar 2008
    Posts
    57
    Quote Originally Posted by Vazde View Post
    Is there a way?
    No timeouts, but You should be able to implement that yourself (no digging into C++ needed). You can for example set a timer with a kill-that-socket handler to 4 seconds from now just before calling socket functions (and kill-that-handler in case the sockets succeeds). Wrap it up in a proxy-class and You have your timeouts .

Similar Threads

  1. How to change default file assosiation?
    By vint in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-03-26, 11:35
  2. How to change default file assosiation?
    By vint in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-03-24, 14:06
  3. Replies: 0
    Last Post: 2007-03-23, 06:18
  4. change focus
    By f_alonso_1 in forum Symbian C++
    Replies: 0
    Last Post: 2003-07-17, 13:34
  5. Change the default font for 7650
    By edmundkkchan in forum Symbian C++
    Replies: 1
    Last Post: 2002-09-24, 07:02

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