A: 

Probably the kernel is objecting to your choices of values. I would. You can't seriously want to set the keep-alive interval to 25ms. That is a completely insane value. The default value is two hours, and there is no point in setting it lower than several minutes. Similarly the keepalivetime should be set to half an hour or so, certainly not half a second.

EJP
Hello EJP, default keepaliveinterval is not 2 hours. But default keepalivetime is 2 hours, and default keepaliveinterval is 1000 ms.I know these values are insane for normal network applications but this application is running on LAN, so they are doing quite well. http://technet.microsoft.com/en-us/library/cc782936(WS.10).aspxhttp://technet.microsoft.com/en-us/library/cc758083(WS.10).aspx
AFgone
The default interval between keep alive probes is 2 hours. This is mandated in the RFC. An interval of a second or less is insane, LAN or no LAN. If they're doing quite well what exactly is the problem?
EJP

related questions