Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: OnDisconnected event
| Subject: | Re: OnDisconnected event |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 15 Dec 2006 12:40:05 |
"Arnau Font" <afont@nospam_really_ipssoft.com> wrote in message
news:4582bdc0@newsgroups.borland.com...
> if I want to use the OnDisconnected event, could I call
> Socket.Disconnect at any time with no problem?
Yes, but then there is no reason to use OnDisconnect anymore, as you can
call your code when Disconnect() exits. Indy is not designed to rely on
events (for most things, anyway), especially on the client side.
Gambit
none