|Subject:||Re: What happens if IP address changes with active FTP connection?|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Wed, 15 Feb 2006|
"Michael J. Leaver" <firstname.lastname@example.org> wrote in message
> If the clients IP address changes (e.g. using DHCP and address expires),
> while a connection to an FTP server is open and active, what happens?
The socket is lost, which will raise exceptions when socket errors are
(eventually) reported during reading/writing of the socket.
> Is there an event to capture and handle?
You can use the TIPWatch component to detect when the IP changes.
What happens if IP address changes with active FTP connection? posted by Michael J. Leaver on Thu, 16 Feb 2006