> I'm trying to code a simple FTPServer using the ICS Demo
> as a base. However, I want to be able to disconnect a user via the
> server. I see the "FtpServer1.Disconnect()" method but I don't know how
> to use it.
> Could someone please explain how I would go about using this,
> for example, in an onClick method of a button. Thanks in Advance.

You must pass the client reference as Disconnect argument.
You get this reference either from one on the events, or you can iterate the 
Client[] property to
find the one you want to disconnect.

Contribute to the SSL Effort. Visit
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)

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

Reply via email to