hsntp-0.1: Libraries to use SNTP protocol and small client/server implementations.
DNS.Type
question :: String -> QType -> QClass -> QuestionSource
rquestion :: Name -> QType -> QClass -> QuestionSource
putLine :: String -> MayIO ()Source
enc :: String -> UArray Int Word8Source
type Bufi = (Ptr Word8, Int)Source
type Data = UArray Int Word8Source
data Question Source
Constructors
Instances
type MayIO = ErrorT String IOSource
data RR Source
type RClass = Word16Source
type RType = Word16Source
type Name = UArray Int Word8Source
satisfies :: Question -> RR -> BoolSource
data Zone Source
type MayIOSt s = StateT s MayIOSource
data Packet Source
Fields
converge :: Word16 -> Question -> Packet -> PacketSource
type WState = ((), Bufi, Ptr Word8)Source
type PSt = StateT (Ptr Word8) IOSource
errorPacket :: PacketSource
emptyPacket :: PacketSource
hashQuestion :: Question -> Int32Source