tcp-0.0.2: A purely functional TCP implementation

Network.TCP.Type.Base

Documentation

newtype IPAddr Source

Constructors

IPAddr Word32 

Instances

newtype TCPAddr Source

Constructors

TCPAddr (IPAddr, Port) 

newtype SocketID Source

Constructors

SocketID (Port, TCPAddr) 

class Eq a => Seq32 a whereSource

Methods

seq_val :: a -> Word32Source

seq_lt :: a -> a -> BoolSource

seq_leq :: a -> a -> BoolSource

seq_gt :: a -> a -> BoolSource

seq_geq :: a -> a -> BoolSource

seq_plus :: Integral n => a -> n -> aSource

seq_minus :: Integral n => a -> n -> aSource

seq_diff :: Integral n => a -> a -> nSource

data Buffer Source

Constructors

Buffer 

Instances

data BufferChain Source

Constructors

BufferChain 

Fields

bufc_list :: ![Buffer]
 
bufc_length :: !Int
 

Instances