Home: Perl Programming Help: Regular Expressions:
Working with network packet



serjilcg
New User

Aug 6, 2009, 2:11 AM


Views: 5546
Working with network packet

Hi all,
I have a problem when I add layer to packet....
for example

Code
...pack('nnNN..', 
$self->[$__src],
$self->[$__dst],
$self->[$__length],
$self->[$__checks],
...



n - 2 bytes
N - 4 bytes

but I cant find how to add 8 bytes.
Please, help


(This post was edited by serjilcg on Aug 6, 2009, 2:50 AM)