hans-2.4.0.0: IPv4 Network Stack

Safe HaskellNone
LanguageHaskell98

Hans.Simple

Contents

Synopsis

UDP Messages

renderUdp :: Ident -> Maybe MTU -> IP4 -> IP4 -> UdpPort -> UdpPort -> ByteString -> IO [ByteString] Source

Render a UDP message to an unfragmented IP4 packet.

renderIp4 :: Ident -> Maybe MTU -> IP4Protocol -> IP4 -> IP4 -> ByteString -> IO [ByteString] Source

Render an IP4 packet.

Ident