TAsyncSocket.this

Constructor that takes an already created, connected (!) socket.

  1. this(TAsyncSocketManager asyncManager, Socket socket)
    class TAsyncSocket
  2. this(TAsyncSocketManager asyncManager, string host, ushort port)

Parameters

asyncManager TAsyncSocketManager

The TAsyncSocketManager to use for non-blocking I/O.

socket Socket

Already created, connected socket object. Will be switched to non-blocking mode if it isn't already.

Meta