hans-pcap-0.1.0.2: Driver for real ethernet devices for HaNS

Safe HaskellNone
LanguageHaskell2010

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