How to configure SO_KEEPALIVE Time in Win CE 7

There is an option called “SO_KEEPALIVE” in setsockopt() in WEC 7. I am developing an application in which I want to find out the TCP/IP connection lost at Server side and for that i found this option SO_KEEPALIVE.
However i am unable to figure out, How to configure the KeepAlive timers in Win CE 7 ?

Is there any API available to configure the KeepAlive timers ?

I would also like to know that, How much this option is reliable for the kind of application I am looking for ?
Your guidance is highly appreciated.


Dear @bipin7301

I’m afraid we never tested the keepalive function.

I found the following Microsoft documentation about configuring the timeout, but I cannot say whether this is supported in WEC7: