On Wed, 10 Mar 2004, Tony Yat-Tung Cheung wrote: > I have enabled "Redirect SocketLib Calls to Host TCP/IP". I am able to > go online using the "Internet Application" on the "Winsock Redirection". > However, when I try some networking applications on it, it never > succeed. I have tried WorldMate, PalmVNC...etc and my own code. It all > fails to connect.
Was going to speak up about that after I got some other issues with Cobalt worked out, but yeah... problems happening here as well. In my case, I can connect with the "Winsock Redirection" active, but as soon as the initial connection traffic subsides, the program hangs for a couple seconds and then acts as if the server closed the connection. Same code works fine on every other emulator and simulator out there. One thing that may be worth noting in my case, is that I'm using NetLibSelect (with the "stdio" descriptor added, to check for events as well) as the core of my event loop. If it indicates that there's something to read on the main socket, but a read returns 0 or an error, then it considers the connection closed by the server and closes it in the app. Seems like that's what's happening, but I can't explain the hanging that happens before that. -- ----------------------------------------------------------------------- Brian Smith // avalon73 at caerleon dot us // http://www.caerleon.us/ Software Developer // Gamer // Webmaster // System Administrator "What I like about deadlines is the lovely whooshing sound they make as they rush past." --Douglas Adams -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
