I'm building a test protocol that will write directly to
the ethernet driver using the SOCK_PACKET socket type.
However, I'm seeing something a little wierd. I write a pkt
of 1036 bytes, but when I read off of the receiving port
(on the other machine), I read 1040 bytes. All bytes seem to
be the same, except that there are 4 extra ones tacked onto
the end.
I'm suspicious that they might be an ethernet checksum. Can
anyone confirm this, or provide any other ideas?
Thanks,
Ben
--
Ben Greear (greearb@xxxxxxxxxxxxxxx) http://scry.wanfear.com/~greear
Author of ScryMUD: scry.wanfear.com 4444 (Released under GPL)
http://scry.wanfear.com
|