About bloody time, too. For future reference, when dealing with listening sockets on Palm OS...
- Bind the socket to netIPAddrLocal (didn't find this until I searched ORA's Palm network programming book) - Don't rely on NetLibSelect to tell you when a listening socket has a connection request waiting... keep trying accept on it - Use a timeout for the accept call... 10 ticks works - Expect a netErrTimeout error from NetLibSocketAccept until there is a connection coming in - Don't use SO_REUSEADDR before binding the listening socket (as is normal in the Windows and Unix worlds)... it only creates problems Now to check a couple more things and put out a bug fix release... ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator Bumper sticker: If you can read this, I can hit my brakes and sue you. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
