Socket.Select() timeout

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PAzevedo@gmail.com

    Socket.Select() timeout

    Hi there.


    I've read a few posts on this group about the select timeout not
    working when set to -1, when according to the documentation it should.
    I found no solutions, just workarounds.

    I've encountered this problem myself recently and found out additional
    strange behavior.

    When I set the timeout to -2 apparently the select() call blocks
    indefinitely, leaving room to suspect an off-by-one error by Microsoft.
    I'd like to know if anyone else can reproduce this behavior and any
    thoughts on a potential cause/solution of this problem.


    Thank you for your time

Working...