Re: What happens if IP address changes with active FTP connection?

Giganews Newsgroups
Subject: Re: What happens if IP address changes with active FTP connection?
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 15 Feb 2006

"Michael J. Leaver" <spam@mjleaver.com> wrote in message
news:EA7DBCBD76EDE240spam@mjleaver.com...

> 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.

Gambit

Replies

None

In response to

What happens if IP address changes with active FTP connection? posted by Michael J. Leaver on Thu, 16 Feb 2006