network-house-0.1.0.0: data and parsers for Ethernet, TCP, UDP, IPv4, IPv6, ICMP, DHCP, TFTP

Safe HaskellSafe-Inferred

Net.EthernetClient

Documentation

type Client_ m p = Interface m p (Packet p)Source

data Clients m Source

Constructors

Clients 

Fields

ipv4 :: Client m Packet
 
arp :: Client_ m Packet
 

initialize :: (MVarIO v m, ChannelIO c m, ForkIO m) => ([Char] -> m ()) -> Interface m (Packet InPacket) (Packet OutPacket) -> m (Clients m)Source