Brian, do you have an example with things you put ? Tks.
Ricardo ----- Original Message ----- From: "Brian Smith" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 11:36 PM Subject: Success! (Re: Listening sockets... am I missing something?) > 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/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
