Hi,

I found that the Tungsten T3 sometimes does not work with the NetLibOpen(). The function returns successfully without opening a bluetooth connection.

When the NetLibGetHostByName() is called, it simply returns netErrNoDNSServers.

I am able to reproduce it.

The network idle timeout is set to 1 minute. My application establishes the TCP connection. If there is no traffic for 1 minute, the bluetoth connection will be broken automatically. In this point, the application does not notice that the socket is being closed. Now the user closes the socket. However, when he tries to reconnect again, NetLibOpen() does not open the bluetooth connection any more.

In this strange state, NetLibOpen() will fail. The users, however, is able to start the bluetooth connection if they use the bluetooth dialog and click on the "Connect" button.

Is there any way to workaround this?

Thank you.

Best Regards,
Tony Cheung

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to