¤ Host, Port, et al

Types

type Host = String
type Port = Int
type Peer = Host
data Socket = So Int
  instance Eq Socket
  instance Ord Socket
  instance Show Socket
data LSocket = LSo Int
  instance Eq LSocket
  instance Ord LSocket
  instance Show LSocket
data Timer = Ti Int
  instance Eq Timer
  instance Ord Timer
  instance Show Timer
type DLHandle = Int

Description

Auxiliary types in socket requests.

See Also

SocketRequest et al.

Bugs

Some of these should be abstract.