BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-11-2009, 06:16 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8330
PIN: N/A
Carrier: Verizon
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How BB's socket setup connection? --- "Connection closed: connect"

Please Login to Remove!

I developed application running on BB to send email by implement smtp protocol mself. My application setup connection to email server by using socket directly, sometime my application sent out email succeed, but sometime my application got IOException when try to connect to mail server:
guid:0x2C0DBB74C8C46409 time: Thu Jun 11 17:51:33 2009 severity:0 type:2 app:DeviceSide data:net.rim.device.cldc.io.ippp.SocketBaseIOExcep tion: Connection timed out: connect or
guid:0x2C0DBB74C8C46409 time: Thu Jun 11 17:51:33 2009 severity:0 type:2 app:DeviceSide data:java.io.IOException: Failed to transmit

When the exception happend, (RadioInfo.getNetworkService()& RadioInfo.NETWORK_SERVICE_DATA)>0 && !CoverageInfo.isOutOfCoverage() return true which mean the signal is good enough.

Does any one know what cause these exception even when signal is ok? And What's the process that BB setup socket connection from the pointview of BB OS layer?

BTW: When the exception happened, I run BB's Diagnostics Test. After Diagnostic finished, It report"
Email Address: [email address]
Connected to [email address]: No

What does this "No" mean? And Why it is "No"?
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.