Article View: borland.public.cppbuilder.internet.socket
Article #5319How can I know that server is shutdowned?
From: Vladimir Stefanovic
Date: Thu, 23 Sep 2004 14:27
Date: Thu, 23 Sep 2004 14:27
14 lines
1159 bytes
1159 bytes
I'm using TClientSocket/TServerSocket. Is there a way that client (which already connected to server) get information that server is sudenly shutdowned, or I just check that during the write try? OnDisconnect is not trigered (AFAIK) when someone, for example, close the server app. -- Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<4152dced@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3dc3c1cc97f7872b,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <spam@not.needed> Newsgroups: borland.public.cppbuilder.internet.socket Subject: How can I know that server is shutdowned? Date: Thu, 23 Sep 2004 16:27:25 +0200 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.164 Message-ID: <4152dced@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095949549 213.137.116.164 (23 Sep 2004 07:25:49 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail