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

LETTERPRESS PRINTING BLOCK VTG. ( SMALL PROPELLER AIRPLANE) METAL ON WOOD
$6.99
LETTERPRESS PRINTING BLOCK VTG. ( SMALL PROPELLER  AIRPLANE) METAL ON WOOD  pictureVintage Tektronix Type K Plug In Unit Fast-Rise Calibrated PREAMP #GG
$20.47
Vintage Tektronix Type K Plug In Unit  Fast-Rise Calibrated PREAMP #GG pictureVintage Adams Phone Message Book Carbonless 2-Part Forms 400 Per Book, Two books
$13.99
Vintage Adams Phone Message Book Carbonless 2-Part Forms 400 Per Book, Two books picturePencil Sharpener Antique 8 Hole Manual School Office Metal Classroom Vintage Ne
$16.32
Pencil Sharpener Antique 8 Hole Manual School Office Metal Classroom Vintage Ne pictureVintage ANEMOSTAT ANEMOTHERM AIR METER MODEL 60 RX-518
$40.62
Vintage ANEMOSTAT ANEMOTHERM AIR METER MODEL 60 RX-518 picture






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