Payload extraction in byte sequence

Sep 11, 2012 at 3:53 PM

I have extracted the packet payload using libpcap. The extracted payload is in the form of hexadecimal and ascii. For my further project development i have to extract packet payload as a byte sequence. Could any one help me how can i extract payload in the form of byte array or sequences.

Sep 14, 2012 at 10:46 AM

Do you just need to convert Hexadecimal string to bytes?