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