BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-09-2009, 06:27 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default timeout

Please Login to Remove!

is there any possibility, to set a timeout for SecureConnection??

PHP Code:
SecureConnection _sc = (SecureConnection)
                
Connector.open("ssl://address:port;deviceside=true;"); 
i need to set timeout for 20 seconds, i'm looking for a solution but i did not find any..
Offline  
Old 03-09-2009, 08:43 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Have a look at this knowledge base article.
Offline  
Old 03-10-2009, 02:01 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

but this works only for http. not for SecureConnection. i saw this link before
Offline  
Old 03-10-2009, 08:00 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

It works for all TCP connections sent via the MDS server, so connections via BES and Unite, or through those ports supported by BIS.

If you are using direct TCP through the carrier APN then it is not supported, even for HTTP. I also suspect that reliability would suffer with a timeout at 20 seconds for direct TCP connection, as latency can get quite high in some circumstances.
Offline  
Old 03-11-2009, 02:43 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, thx for the reply, now i understand

kind regards
Offline  
Closed Thread


Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Osram Quicktronic Sylvania Instant Start T8 Ballasts, QTP2X32T8/UNV-ISN-SC
$13.95
Osram Quicktronic Sylvania Instant Start T8 Ballasts, QTP2X32T8/UNV-ISN-SC pictureNEW PHILIPS ADVANCE ICN-2P32N CENTIUM ELECTRONIC BALLAST F32T8 120/277V
$12.5
NEW PHILIPS ADVANCE ICN-2P32N CENTIUM ELECTRONIC BALLAST F32T8 120/277V  pictureAdvance ICF-2S42-M2-LD SmartMate CFL Ballast lot of 3
$45.0
Advance ICF-2S42-M2-LD SmartMate CFL Ballast lot of 3 picturePHILIPS ADVANCE SMARTMATE BALLAST ICF-2S42-90C-M2-LD (LOT OF 4)
$29.99
PHILIPS ADVANCE SMARTMATE BALLAST ICF-2S42-90C-M2-LD (LOT OF 4) pictureRobertson Worldwide ISA232T8HEMV 3P20123 120-277 Vac 50-60 Hz Normal Ballast 5pk
$57.0
Robertson Worldwide ISA232T8HEMV 3P20123 120-277 Vac 50-60 Hz Normal Ballast 5pk picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.