in reply to Re^5: session expiry
in thread session expiry

Sorry, my mistake when I was uploading the script I removed some commented out lines, so line 50 is:
print $sock1 "$mac1";
So it is trying to, if i read this right, send the MAC to the IP2 on port 5555, but fails because it cannot write to it.

Replies are listed 'Best First'.
Re^7: session expiry
by Corion (Patriarch) on May 26, 2010 at 10:15 UTC

    Right. $sock1 did not connect, and you never know about that because you only check whether $sock connects.