John Goerzen <jgoerzen <at> complete.org> writes: > > 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/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe