[Lazarus] lNet no TCP.OnDisconnect at TCP.Disconnect?
Aleš Katona
almindor at gmail.com
Thu Dec 4 23:13:06 CET 2008
On Thu, 04 Dec 2008 21:55:23 +0100
Eugen Bolz <info at eugen-bolz.de> wrote:
> Hey,
>
> the Event OnDisconnect, dont get called if i execute TCP.Disconnect
>
> ...
>
> Why?
>
> Is this a Bug?
>
> Best Regards,
> Eugen
It shouldn't and it's not a bug. Read the documentation.
OnDisconnect is called when the OTHER side disconnects, not when you issue a disconnect from your end.
Ales
More information about the Lazarus
mailing list