
9 Jan
2009
9 Jan
'09
3:23 a.m.
John Goerzen
Any idea how I get Haskell to send ICMP ECHO packets? (And, obviously, receive the replies.)
SocketType claims to support Raw, which I think is the conventional means for doing this. Whether all the infrastructure for that is there, I don't know. I have never worked with raw sockets though, so I may be leading you down a dark mugger-laden alley here
Here's an example of a Haskell version of ping, now sadly bit-rotted. Dominic. http://haskell.org/networktools/src/ping/test.hs http://haskell.org/networktools/src/ping/