in reply to Re: Re: How to copy directory tree through single IP
in thread How to copy directory tree through single IP

Yes, I know. So, I was asking IF the machine would have just one NIC, how would you solve it then?

Because the problem isn't that your machine has one or two NICs. The awkwardness of your problem is that you want to start very low level, IO::Socket, and do a high level operation, copying directories.

It's like asking "I have a bunch of screws, how do I make a car with two colours out of them". The problem isn't the colours, the problem is making a car from the screws.

I wouldn't use Perl to solve this problem - it's a routing problem, so I'd use the routing tables. One that is solved, I'd copy the directories like I would copy them without this routing issue.

Abigail

  • Comment on Re: How to copy directory tree through single IP