Hi,
When I tried to implement this approach, I ran into the following:
java.microedition.io.ConnectionNotFoundException: null
The code that establishes the connection (and responsible for throwing the exception):
Code:
SocketConnection socket = (SocketConnection)
Connector.open("socket://localhost:80", Connector.READ_WRITE, true)'
I am sure that my device supports SocketConnection (I've gotten it to work on an IP address in the local network), so the problem must be that I use localhost? I've tried substituting it for 127.0.0.1, omitting the arguments, changing the port (I've tried 13, 14, 9002, ..), but to no avail.
Any ideas?
William