FiberSocketConnection.this

Constructor.

warning_e and socket_error may be the same object.

  1. this(IPSocket socket, SelectFiber fiber)
  2. this(IPSocket socket, SelectFiber fiber, IOWarning warning_e, SocketError socket_error)
    class FiberSocketConnection(bool IPv6 = false)

Parameters

socket IPSocket

IPSocket instance to use internally

fiber SelectFiber

fiber to be suspended when socket connection does not immediately succeed or fail

warning_e IOWarning

exception to be thrown when the remote hung up

socket_error SocketError

exception to be thrown on socket error

Meta