🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #738

EidClosedSocket with message 'Disconnected'

#738
From: SKLIM
Date: Mon, 26 Nov 2007 09:05
13 lines
1344 bytes
Hi all,

I am using Indy 9.0.4. Currently I am working on TCPServer and facing problem to disconnect all connected client.

"EidClosedSocket with message 'Disconnected'" exception will show when I try to disconnect all connected client and set active to false or delete object.

tcpServer->Bindings->Items[0]->CloseSocket();
tcpServer->Active = false;

Any suggestion to gracefully disconnect all connected clients?

Thanks.
Technical Details
Message-ID: <474a9a54$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!83.80.28.12.MISMATCH!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8ed7ff271444a626,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "SKLIM" <sklim82@hotmail.com>
Sender: "SKLIM" <sklim82@hotmail.com>
Reply-To: "SKLIM" <sklim82@hotmail.com>
Subject: EidClosedSocket with message 'Disconnected'
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 203.223.133.194     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <474a9a54$1@newsgroups.borland.com>
Date: 26 Nov 2007 02:05:08 -0700
X-Trace: newsgroups.borland.com 1196071508 207.105.83.66 (26 Nov 2007 02:05:08 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!83.80.28.12.MISMATCH!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail