in reply to Re^2: Win32 TCP SYN messages
in thread Win32 TCP SYN messages

Yes, I know. I was trying to keep as much of the OP's code as possible.

Replies are listed 'Best First'.
Re^4: Win32 TCP SYN messages
by ikegami (Patriarch) on Jun 21, 2006 at 15:09 UTC

    Then the comment applies to the OP too.
    $helpDec = sprintf("%d", $ip->{'tos'});
    should be one of:
    $helpDec = $ip->{'tos'};
    $helpDec = 0+$ip->{'tos'};     # Convert string to number
    $helpDec = int($ip->{'tos'});  # Convert string or number to integer