11-26-2008, 01: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
| 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
| |