Hello all,

I just noticed today that pcap_send_packet() appears to be unable
to send packets containing odd numbers of bytes.  It instead rounds
up the number of bytes to an even number, and seems to always pad
the packet data to an even number of bytes by appending a byte 
containing hex 20.

Is this behavior intentional?  If not, can it be addressed some day
so that packets containing odd numbers of bytes are transmitted
correctly?

(I note that the same is not apparently true of the receive side, as
Ethereal faithfully and correctly reports incoming packets having
an odd number of total bytes).

Thanks,

Rob---




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to