Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: closing an application over the network
| Subject: | Re: closing an application over the network |
| Posted by: | "soonic" (xxsoon..@op.pl) |
| Date: | Wed, 19 Dec 2007 23:54:05 |
> OnDisconnected is not an unsolicted event. It is only fired when
> Disconnect() is called, or when CheckForDisconnect() detects a graceful
> disconnect while performing a blocking read/write operation. So you have
> to initiate an operation in your own code in order for OnDisconnected to
> do anything. It will never fire by itself.
Please, how the code should look, because I don't know what to do next.
> Delete what? Your question is too vague.
Well, I run my application "test.exe" when I exit, I want to delete the file
by it self.
s.