Arnold FLUTEAUX wrote: > Hi, > > > > In authenticate event of ftpserver, I do some tests and if my tests > aren't ok, I set "authenticated" (one param of event) to false. But > my clientcount is yet with this client. So I must do: > > Authenticated :=false; > > PostMessage(ftpserveur.Handle, WM_FTPSRV_CLOSE_REQUEST, > > WPARAM(client.ID),LPARAM(Client)); > > > > To get a good value of clientcount. > > Is it OK or not ?
You may close the client connection if you want (may be after a couple of failed attempts only?), the component does not do it for you. It is much easier to call Client.CloseDelayed. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > Arnold -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be