BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-11-2009, 05: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

Vintage Vulcan Williams Snap On 32mm Metric Socket
$21.95
Vintage Vulcan Williams Snap On 32mm Metric Socket pictureSimpson 3-1/2" Vintage Panel Meter 50 AC Amperes Mod 57 - Steampunk
$18.95
Simpson 3-1/2Vintage Union Tool Inside Caliper 7" Lufkin Outside Caliper 5"
$12.5
Vintage Union Tool Inside Caliper 7NIB Mark-Time Time Switch 12 Hour with hold feature 90,000 Series Vintage
$15.0
NIB Mark-Time Time Switch 12 Hour with hold feature 90,000 Series Vintage  picturevintage chilton keresene gas can 5 1/4 gal. plastic vented
$40.0
vintage chilton keresene gas can 5 1/4 gal. plastic vented picture






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