hi,

first, sorry for my english and i hope you understand.


Honestly im still confused with all defines like :
1. Unsigned Char value, is that 'invisible char'? like
we press 'spacebar key' or 'ctrl+f1' ?
2. In perlfunc pack i read something like this -> 'the
pack code for big endian is n for 16 bit and N for 32
bit integers', so i tried to explain to my self that
16 bit integers are "Numbers between 0-65536" ..
because 16 bit = 2^16, is it true?

3. what's big endian? isit just machine architecture?

4. have a look at my 4th question below :

here's the code :
============================
$tcp_pseudo = pack('a4a4CCnnnNNH2B8nvn',
$tcp_len,$src_port,$dst_port,$syn,$ack,$tcp_head_reserved,$tcp_all,
$tcp_win,$null,$tcp_urg_ptr);
============================
the full code is at :
http://www.perlmonks.org/index.pl?node_id=17576

and i tried to explain to myself like this :
1. a4 is for $tcp_len
2. a4 is for $src_port
3. C is for $dst_port
4. C is for $syn
5. n is for $ack
6. n is for $tcp_head_reserved
7. n is for $tcp_all
8. N is for $tcp_win
9. N is for $null
10. H2 is for $tcp_urg_ptr

is that true ?


im trying hard to explain my problem, and i hope u
understand, i know english's my biggest problem :[


cheers







                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to