On Thu, 20 Sep 2001, Aaron Peter wrote:

> I'm using GCC in Windows platform. Below is code in a function which is
> fired on clicking a button. Everything is fine until NetLibSocketAccept
> is executed , after this function my POSE hangs.  Please help me ! 

I swear... this should be in the Knowledge Base or something...

That's the way NetLibSocketAccept works.  It sits there in that function
waiting for a connection on the port you're listening on.  Check out the
NetLibSelect function if you want to be able to do other things while
you're waiting for a connection.  You check the socket you're listening on
for input and, if that's the case, call NetLibSocketAccept.

----------------------------------------------------------------------
Brian Smith  //   [EMAIL PROTECTED]   //  http://www.arthurian.nu/
Software Developer  //  Gamer  //  Webmaster  //  System Administrator
"For all you parents offended by Jay and Silent Bob, I've got three
 words:  Cheech and Chong." -- Richard Roeper


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

Reply via email to