Here is the very latest update from Research In Motion - it just arrived in my inbox.
[
https://www.blackberry.com/jira/browse/ ... tion_12991 ]
Gurtej Sandhu commented on JAVAAPI-737:
---------------------------------------
The priority of this issue is set to high and it is currently being investigated by developmentServerSocket does not work on Storm 2
--------------------------------------
Key: JAVAAPI-737
URL:
https://www.blackberry.com/jira/browse/JAVAAPI-737 Project: Java APIs
Issue Type: Bug
Reporter: Robert Powell
The following code works as expected on a Bold running OS 4.6, and the 9550 Simulator under RIM OS 5.0, but does not work on an actual Storm 2 device.
ServerSocketConnection scn = (ServerSocketConnection)Connector.open("socket://:"+connectPort+";deviceside=true;interface=wifi");
scn.acceptAndWait();
Note that on 4.6 and the simulator scn.getLocalAddress() returns the IP address of the WiFi interface on the device, but on the Storm 2 it returns null.