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

4X Nichicon FG(MUSE) series- 100V 33uf 4 PCS Audio Capacito
$4.49
4X Nichicon FG(MUSE) series- 100V 33uf 4 PCS Audio Capacito picture12X Nichicon FG MUSE series- 35V 33uf 12PCS Audio Capacitor
$6.95
12X Nichicon FG MUSE series- 35V 33uf 12PCS Audio Capacitor picture2Pcs Super Capacitor 2.7V 100F Ultra Capacitor Farad FYUS
$1.51
2Pcs Super Capacitor 2.7V 100F Ultra Capacitor Farad FYUS picture1pc Axial Leaded Electrolytic Capacitor 350V 100uf For Guitar Tube Audio Amp New
$5.25
1pc Axial Leaded Electrolytic Capacitor 350V 100uf For Guitar Tube Audio Amp New picture1800 PCS THOMSON BF024E0222KDD 2200 PF 10% 100V CAPACITORS
$3.99
1800 PCS THOMSON BF024E0222KDD 2200 PF 10% 100V  CAPACITORS picture






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