Hi, I will be looking to create ping/icmp tool for macos using network framework. Can someone point me to/if there are some examples and which functions should be good to use?
Network Framework? Don't think that'll work. ICMP is too far down the network stack.
You're probably for CFSockets, as described here:
https://www.rderik.com/blog/building-a-server-client-aplication-using-apple-s-network-framework/
Some related information and apps:
- https://pwhois.org/lft/
- https://dublin-traceroute.net
- https://developer.apple.com/support/prepare-your-network-for-icloud-private-relay