hsntp-0.1: Libraries to use SNTP protocol and small client/server implementations.

HSNTP.Util.UDPServer

Documentation

data UDPServer a Source

Constructors

UDPServer 

Fields

putFun :: a -> Bufi -> IO Int
 
getFun :: Bufi -> IO a
 
workFun :: a -> IO a
 
excFun :: Exception -> IO ()
 
timeout :: Time
 
bufSize :: Int
 
threads :: Int
 
port :: Int