Author: Kristján Valur Jónsson (kristjan.jonsson) *
Date: 2009-09-22 21:50
Adding the SIO_KEEPALIVE_VALS option to socket.ioctl on windows allows a windows user to specify the timeout and interval for TCP keepalive support differently from the defaults specified in RFC 1122 on a per-socket basis. The 'option' is a tuple corresponging to the 'struct tcp_keepalive' expected by WSAIoctl See http://msdn.microsoft.com/en-us/library/dd877220(VS.85).aspx for details.