Hacker News new | ask | show | jobs
by N_Lens 198 days ago
The Linux vs macOS behavioral differences in ICMP sockets documented by the article are critical:

- Linux overwrites identifier and checksum fields

- macOS requires correct checksum calculation

- macOS includes IP header in response, Linux doesn't

I think this is the kind of subtle difference that would trip up even experienced programmers

1 comments

Do these behavioral differences have performance implications? Which approach is more efficient in practice?
Nah. No one cares about the performance of ping.