Troubleshooting occasional timeout of select() in windows
        Posted  
        
            by JonF
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by JonF
        
        
        
        Published on 2010-06-08T19:24:40Z
        Indexed on 
            2010/06/08
            20:02 UTC
        
        
        Read the original article
        Hit count: 273
        
I'm having an occasional problem with select() timing out on me. I have it set for twenty seconds. The system will handle 100's of transactions correctly, but occasionally one fails with the selet timing out. It does about 1 transaction every few seconds, opening and closing the tcp conncetion with each transaction. I thought the server my app was connecting to might have to many connection attempts pending, but no 4226 events are showing up in the logs
One more point thing I noticed when using wireshark that I'm getting a SYN,RST in response to the SYN I am appearently sending. This only happens a few times over the first second or two, then I don't see any more activity in Wireshark
© Stack Overflow or respective owner