perlquestion
admiralfreezbee
I need to make a data packet to send over a network. All I need is the data the placing in an UDP packet is no problem. The layout of the message is<br>
ID (1 byte) | TransID (3 bytes)<br>
Option_ID (2 bytes) | Option_length (2 bytes)<br>
IP_address (16 bytes)<br>
<br>
If anyone is wondering it's a DHCPv6 reply message.<br>
I guess I need to do this with pack but my experience with Perl is very limited. Can anyone help me?<br><br>