Skip to content

Network.Transport

andygill edited this page Sep 25, 2014 · 5 revisions

To start

  • initTransport :: (...) -> IO Transport

Transport

  • newEndPoint :: (...) -> IO EndPoint

EndPoint

  • receive :: IO Event
  • address :: EndPointAddress
  • connect :: EndPointAddress -> (...) -> IO Connection

Connection

  • send :: [ByteString] -> IO ()

Event

(Constructors)

  • Received ConnectionId [ByteString]

ConnectionId

An Int64

Clone this wiki locally