The following code works fine on the simulator, but when I deploy it to the BlackBerry device I'm not able to connect, am I doing something wrong?
URL = "socket://" + server + ":" + port + ";deviceside=true;apn=internet;tunnelauthusername=;tunnelauthpassword=";
conn = (StreamConnection) Connector.open(URL);