Zing, basic Elixir ICMP ('ping') server using Zig NIF

I have tested my library on macOS and Linux and both works. If you look into inet_icmp.erl then you will see that there is special case for handling macOS return value.

Yes, it is. Not all OSes even allow such socket. That is why my library provides a way to use either datagram or raw sockets (datagram sockets are default).

1 Like