Article View: borland.public.cppbuilder.nativeapi
Article #16439keep_alive problem
From: Boguslaw Fries
Date: Tue, 13 May 2003 08:53
Date: Tue, 13 May 2003 08:53
53 lines
2060 bytes
2060 bytes
Hi,
One month ago I asked how to properly set in WIN 2000 keep_alive parameter
for TCP/IP
My problem is - I wrote an application client server.
Server have to know if the application is still alive without sending ping
or any higher level
"keep alive messages"
I followed the article:
http://www.sybase.com/detail/1,6904,1013181,00.html
The registry entry for Ti is a DWORD value with millisecond units:
\HKEY_LOCAL_MACHINE
\System
\CurrentControlSet
\Services
\Tcpip
\Parameters
\KeepAliveTime
The registry entry for Nm is a String value:
\HKEY_LOCAL_MACHINE
\System
\CurrentControlSet
\Services
\Tcpip
\Parameters
\MaxDataRetries
The registry entry for Td is a DWORD value with millisecond units:
\HKEY_LOCAL_MACHINE
\System
\CurrentControlSet
\Services
\Tcpip
\Parameters
\KeepAliveInterval
but it does work at all :(
Any suggestion??
Best regards
Boguslaw Fries
Technical Details
Message-ID:
<3ec0b228$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,756f73a80e101dc9,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-13 02:25:08 PST From: "Boguslaw Fries" <B.Fries@luca-online.de> Newsgroups: borland.public.cppbuilder.nativeapi Subject: keep_alive problem Date: Tue, 13 May 2003 10:53:03 +0200 Lines: 55 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.130.212.49 Message-ID: <3ec0b228$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052815912 80.130.212.49 (13 May 2003 01:51:52 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail