[Haskell-cafe] Re: Low-level networking [Haskell not ready for Foo]

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Fri Jan 9 03:23:09 EST 2009


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/



More information about the Haskell-Cafe mailing list