You Are Here:

Community: Developer Discussion Boards

#1 Old Change default timeout on pyS60? - 2008-03-29, 11:04

Join Date: Mar 2008
Posts: 1
Vazde
Offline
Registered User
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?
Reply With Quote

#2 Old Re: Change default timeout on pyS60? - 2008-03-29, 22:54

Join Date: Mar 2008
Posts: 57
nokia_e70
Offline
Regular Contributor
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 .
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default file assosiation? vint Symbian Media (Graphics & Sounds) 2 2007-03-26 12:35
How to change default file assosiation? vint Mobile Java Media (Graphics & Sounds) 2 2007-03-24 15:06
Api to change Default softkeys of S40 mobile phone for j2me application vivek_mics Mobile Java General 0 2007-03-23 07:18
change focus f_alonso_1 General Symbian C++ 0 2003-07-17 14:34
Change the default font for 7650 edmundkkchan General Symbian C++ 1 2002-09-24 08:02

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia