Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Disconnect SocketConnection on Handspring  RSS feed

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with phisically disconnecting wireless ethernet card from MIDlet. I'm using Handspring Visor Neo with Xircom Wireless Ethernet Module.
Here is part of code:
StreamConnection c = null;
DataInputStream socketIn = null;
DataOutputStream socketOut = null;

c = (StreamConnection), Connector.READ_WRITE, true);
socketOut = c.openDataOutputStream();
socketIn = c.openDataInputStream();

// reading and writing data
//---------- finalize ----------

try {
c = null;
} catch (IOException e) {


The problem is, that when I close the connection, the Xircom card is still acting and the only way I can put it in "standby mode" is to choose "disconnect" from MIDlet menu.
Is there any other way to do it? Please help me, it is urgent.
Chris Bilinski
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Thread Boost - a very different sort of advertising
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!