Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type UdpPort = Word16
- getUdpPort :: Get UdpPort
- putUdpPort :: Putter UdpPort
- data UdpHeader = UdpHeader {
- udpSourcePort :: !UdpPort
- udpDestPort :: !UdpPort
- udpChecksum :: !Word16
- emptyUdpHeader :: UdpHeader
- udpHeaderSize :: Int
- getUdpHeader :: Get (UdpHeader, Int)
- putUdpHeader :: UdpHeader -> Int -> Put
Documentation
getUdpPort :: Get UdpPort Source #
UdpHeader | |
|
udpHeaderSize :: Int Source #