I am seeing a problem with ICMP socket packets having their size field
in host order on the Intel Macs.
A packet coming to a ppc mac will have a received size (from
recvfrom())
of 32 and a header starting with:
45 00 00 0c ...
whereas the Intel Mac will get a packet of received size (from
recvfrom()) of 56 and a header starting with:
45 00 24 00 ...
subtracting 20 bytes from each received size to account for the packet
header, one would expect the Intel packet to be:
45 00 00 24 ...
Oddly, ping on the Intel Macs works fine, and I would have presumed
this
to cause it the same trouble it is causing me. Is it possible Apple
fixed the Intel version of Ping around this, is ping doing something
different, or am I missing some information that explains all of
this in
some other way?
David Litwin
BigFix