All, I am trying to set the Socket Option for TCP/IP KeepAlives on a socket in my application. After declaring the socket and connecting to a host, I try to set the socket options with the following: ... snip ... int nOn = 1; setsockopt(Socket, netSocketOptLevelSocket, netSocketOptSockKeepAlive, &nOn, sizeof(nOn)); ... snip ... However, after using a sniffer I am unable see the keep alive packets being sent. I have searched through out the Header files and such to find an example for using this option, but nothing seems to be available. Has anyone used this socket option and if so, can you please share any information about configuring the time between KeepAlive Packets are sent? Thanks, -Doug ___________________________ Douglas E. Morrison Sr. Software Engineer Riverbed Technologies [EMAIL PROTECTED] http:://www.RiverbedTech.com
