07-11-2008, 07:02 AM
Knows Where the Search Button Is
Join Date: Oct 2005
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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();