in reply to Setting IP Precedence(TOS) on UDP traffic
The existing modules NetPacket and Net::RawIP may be of use in constructing UDP packets - Alternatively, an example of UDP packet construction from raw values using the pack function can be found in the Net::DHCPClient module.
perl -le 'print+unpack("N",pack("B32","00000000000000000000001000010000"))'
|
|---|