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

I'm not sure I understand your response? As stated, the machine has two NIC's, not one as you mention in your first sentence? As for the rest, that is why I am asking for advice. I don't know how to do that so I had hoped that someone could get me started.
  • Comment on Re: Re: How to copy directory tree through single IP

Replies are listed 'Best First'.
Re: How to copy directory tree through single IP
by Abigail-II (Bishop) on Aug 14, 2002 at 13:25 UTC
    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