On Mon, 27 Oct 2003, Mike Margerum wrote: > Is there some way I can determine if the sockets will be kept alive by > the server? I hate to have to open these new sockets for people that > arent going through sprints proxy.
Do a NetLibSelect on the socket. If it indicates that there's something to read, but you get zero bytes out of a receive, then the other end closed the connection. -- ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator After 16 years, MTV has finally completed its deevolution into the shiny things network. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
