Hi all, I made a post about a week ago, about pcap_sendpacket() transmitting the wrong number of bytes on a small packet. Then I thought it was my fault, and I retracted the question.
Well, it doesn't appear to be my fault. I have two machines tied together with a crossover cable. Both are running WinPCap 3.1 beta 3. One is running Ethereal, and that one has successfully logged 59-byte packets, created by a web server running SSL (one of the SSL handshake packets works out to be 59 bytes every time). When I call pcap_sendpacket(), any length value from 36 up to 59 results in a 60-byte packet being transmitted, with the end of the transmitted packet being padded with $20's. Some receiving applications don't care about the extra byte(s), but others do. This misbehavior is going to cause some serious problems in an application I'm presently developing. Could somebody please independently confirm (or refute) my test, and can this issue be addressed in a future release? Thanks, Rob Henningsgard ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
