SocketConnection in simulator _seems_ to work
Please Login to Remove!
I've created a SocketConnection to a server on the internet and the code in the debugger seems to work fine (no exceptions are thrown), but no data actually arrives at the server. I've got the MDS simulator running as well and I can do Http connections to the server so I know it is working. Any thoughts to why the code _appears_ to work?
...
c = (SocketConnection)Connector.open("socket://" + ddsStore.getServer() + ":8081");
os = c.openDataOutputStream();
is = c.openInputStream();
os.writeByte('@');
os.writeUTF(s);
os.flush();
...
|