Results 1 to 1 of 1
Hi,
I have a big application where one thread does select(2) on a socket with
2 min timeout period. Second thread does shutdown(2) on the same socket. The expectation is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-13-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 1
Socket programming: select does not reurn as soon as shutdown is done on socket
Hi,
I have a big application where one thread does select(2) on a socket with
2 min timeout period. Second thread does shutdown(2) on the same socket. The expectation is that select(2) should return as soon as shutdown is down. But that is not the case with my application. However, I wrote a sample program to check the same and it behaves as expected. Any guesses on what could be wrong in the application.
Thanks
-Vasu


Reply With Quote
