in reply to Re: accept() on non-blocking socket still hangs
in thread accept() on non-blocking socket still hangs

You can set it to nonblocking using setsockopt(). But i have one moer doubt please. How accept() will hang if it is blocking ? whether it is bblocking or non blocking it has to process the connect request fully and if there is any RST from clietnt also. Is it related with different clients connect requests?because in this case only this nonblock eill be usefull to process other client request instaed of hanging with one client Please clear my doubt. Thanks and Regards Jyothi Vajja
  • Comment on Re^2: accept() on non-blocking socket still hangs