TCP/IP Keep Alive Time [modified]
-
Hi, I am doing socket programing in that i am using socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, 1); I have found info abt setting the keepalive time 1. Click Start, click Run, type regedit, and then click OK. 2. Locate and then click the following key in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings 3. On the Edit menu, point to New, and then click DWORD Value. 4. Type KeepAliveTimeout, and then press ENTER. 5. On the Edit menu, click Modify. 6. Type the appropriate time-out value (in milliseconds), and then click OK. For example, to set the time-out value to two minutes, type 120000. 7. Restart Internet Explorer. This is working but its taking more time ...i mean i have set it to 5 minutes and the socket got closed after 20 minutes so if anyone knows how to set the proper time then plz do let me know regards sindhu tiwari
innovative
modified on Tuesday, February 05, 2008 3:48:36 AM