BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 11-26-2008, 02:40 PM   #1 (permalink)
New Member
 
Join Date: Nov 2008
Model: Bold
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot open ServerSocketConnection

Please Login to Remove!

I'm trying to use the sample code found in the ServerSocketConnection API (version 4.6.0 - but the sample code is the same in every version that has the interface) and it fails on the line

// Create the server listening socket for port 1234
ServerSocketConnection scn = (ServerSocketConnection)
Connector.open("socket://:1234");

with the exception: "java.io.IOException: Tunnel failed". I'm running this on a Bold.

Any ideas why this won't work? I remember reading somewhere else that security policy can affect this, but I couldn't see any setting that looks realted to this.
Offline  
Old 11-27-2008, 12:53 AM   #2 (permalink)
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here try this link
http://www.rovemobile.com/downloads/...ator_Guide.pdf

In this PDF on page 14, there are talking about APN, see if thats useful.
__________________
Smart People ask for Help!!!
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

50pcs 1000V .022uF Dipped Film Capacitors 1KV 10% NEW Vintage Ham Radio Parts
$9.95
50pcs 1000V .022uF Dipped Film Capacitors 1KV 10% NEW Vintage Ham Radio Parts picture1pcs ABB Capacitor Acs800 B43586-s9418-q1 4100uf-400v
$69.0
1pcs ABB Capacitor Acs800 B43586-s9418-q1 4100uf-400v picture2pcs 5.5V/4.0F Super Capacitor Double layer H Type Button Smart Capacitance PL
$9.55
2pcs 5.5V/4.0F Super Capacitor Double layer H Type Button Smart Capacitance PL picture10µF 50V Electrolytic Capacitors uF MFD Thru Hole NIC 85°C - 20 pcs
$6.99
10µF 50V Electrolytic Capacitors  uF MFD Thru Hole NIC 85°C - 20 pcs pictureJE Jacques Ebert C50UK10 capacitor 10MFD-50V P.C Mount
$5.0
JE Jacques Ebert C50UK10 capacitor 10MFD-50V P.C Mount picture






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