hans-3.0.2: Network Stack

Safe HaskellNone
LanguageHaskell2010

Hans.Udp.Packet

Synopsis

Documentation

getUdpHeader :: Get (UdpHeader, Int) Source #

Parse out a UdpHeader, and the size of the payload.

putUdpHeader :: UdpHeader -> Int -> Put Source #

Render a UdpHeader.