hans-pcap-0.1.0.0: PCAP driver for HaNS

Safe HaskellNone
LanguageHaskell98

Hans.Device.Pcap

Synopsis

Documentation

pcapOpen :: String -> IO PcapHandle Source

Open device with pcap, will give info about the state, Unless the device is up it will throw errors later Be sure to use fesh mac, otherwise all might fail.

pcapSend :: PcapHandle -> ByteString -> IO () Source

send to deviece