Jakob Eriksson wrote:
art yerkes wrote:
Thanks for looking into it. It's a really sticky problem since ICMP is really meant to be a system-level protocol, not an application protocol. As such, I'm not aware of firm rules regarding delivery of ICMP datagrams to applications, only rules regarding how they're received and dealt with at the system level.
This is a known trouble with Windows programs too. There is icmp.dll, check out: http://www.sockets.com/ms_icmp.htm
Yes, I'm assuming Windows uses this approach as opposed to the raw packets way as the MS ping doesn't have this problem, even though there is a problem with their stack also. But running the ROS ping on Windows highlights the same problem we are seeing on ROS.
However the raw socket approach is much more elegant, plus we don't have the ICMP.dll available in ROS.
Incidentally, I haven't tried the MS ping in ROS, and I don't have a bootable ROS at the moment. I'll try it later.
Ged.