Article View: borland.public.cppbuilder.internet.socket
Article #3272Detecting lost connections
From: Eelke
Date: Tue, 01 Nov 2005 10:15
Date: Tue, 01 Nov 2005 10:15
10 lines
1403 bytes
1403 bytes
I am writing a service application that communicates with an application on a PDA. The PDA is ofcourse the client and the service is the server.In the service I use WSAEventSelect to get events when the connection is closed or data is available. When the app on the PDA closes the connection the server gets the close event. However when the PDA is reset the server never gets the close event. Are there other ways to detect the connection has been lost? Eelke
Technical Details
Message-ID:
<43673fdc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,20f28b7bff8e46e5,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 01 Nov 2005 11:15:38 +0100 From: Eelke <e.klein@mplussoftware.nl> User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Detecting lost connections Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.58.1.162 Message-ID: <43673fdc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130840028 81.58.1.162 (1 Nov 2005 02:13:48 -0700) Lines: 10 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail