R., Hex, or hexadecimal (base 16), is just another number system like the decimal system (base 10) that most are comfortable with and use for day to day issues.
Check out the following URL for an explanation on how can you convert 48 (dec) (Total length) from "00 30" (hex) and vice versa. http://www.bootheel.net/~mbranum/mathstuf.html Hope helps? Take care, Wally <snip> and just the Header lenght: 20 is represented only by a hex: "45". Now, how is it? How does it work? How can you make 20 (dec) from 45 (hex)? How can you convert 48 (dec) (Total lenght) from "00 30" (hex)? I am sure it mustn't be so complicated but if I don't understand this I can't understand nothing at all. If anybody can help me with this I would appreciate it. I can attach the full packets in a .txt file so you can use it for your better explanations ;) Thank you! </snip>