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

Digitimer NeuroLog System Mainframe - NL 403 120 256 603 304 510 AC preamp etc.
$8950.0
Digitimer NeuroLog System Mainframe - NL 403 120 256 603 304 510 AC preamp etc. pictureHP 8620C Sweep Oscillator Mainframe, No Plug-in Module (Parts/Repair)
$59.99
HP 8620C Sweep Oscillator Mainframe, No Plug-in Module (Parts/Repair) pictureTektronix VX1410 VXI Test Mainframe HP E8491A VX4385 VX4357 VX4332 VX4730 VX4342
$3499.0
Tektronix VX1410 VXI Test Mainframe HP E8491A VX4385 VX4357 VX4332 VX4730 VX4342 pictureAgilent 8166A Lightwave Mainframe
$4500.0
Agilent 8166A Lightwave Mainframe  picturea b systems 730 mainframe used but works good
$9.99
a b systems 730 mainframe used but works good picture






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