BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-09-2009, 07: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, 09: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, 03: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, 09: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, 03: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





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