hinterface-0.5.0.1: Haskell / Erlang interoperability library

Safe HaskellNone
LanguageHaskell2010

Util.Socket

Synopsis

Documentation

data Socket :: * #

Represents a socket. The fields are, respectively:

  • File descriptor
  • Socket family
  • Socket type
  • Protocol number
  • Status flag

If you are calling the MkSocket constructor directly you should ensure you have called withSocketsDo.

Instances

Eq Socket 

Methods

(==) :: Socket -> Socket -> Bool #

(/=) :: Socket -> Socket -> Bool #

Show Socket