> It looks like you want SOCK_RAW, not AF_RAW. GHC does support this, > with the 'Raw' socket type, something like this: >=20 > proto <- getProtocolByName "icmp" > s <- socket AF_INT Raw proto =20 should be: s <- socket AF_INET Raw (protoNumber proto) and of course you have to be root to send raw packets to the network. Cheers, Simon