Re: ICS FTPServer Disconnect a Client....
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Oct 2005 09:44:23 +0200
<scott@xxxxxxxx> wrote in message
news:1130342820.376243.212470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thanks Maarten,
>
> I have figured it out ... I need to loop through FtpServer1.Client[]
> to find the connection I need to disconnect. Thanks for the pointer
> though.
Good! I strongly approve of people solving their own problems.
You mentioned a button last time, so I presume you have a list of
clients next to it, with one selected. I don't know exactly how ICS
represents client connections, but you can put a link to the right
object next to each item. Then you don't have to go looking for the
connection, you already have it.
In an event handler for incoming traffic, one of the parameters is
the socket on which the traffic came in. Sockets also have a pointer
worth of space available for programmer use.
Groetjes,
Maarten Wiltink
.
- References:
- ICS FTPServer Disconnect a Client....
- From: scott
- Re: ICS FTPServer Disconnect a Client....
- From: Maarten Wiltink
- Re: ICS FTPServer Disconnect a Client....
- From: scott
- ICS FTPServer Disconnect a Client....
- Prev by Date: Re: Delphi 7 v Delphi 2005
- Next by Date: generator field
- Previous by thread: Re: ICS FTPServer Disconnect a Client....
- Next by thread: Variables referenced in a project
- Index(es):