TAsyncSocket.this

Creates a new unconnected socket that will connect to the given host on the given port.

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

Parameters

asyncManager TAsyncSocketManager

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

host string

Remote host.

port ushort

Remote port.

Meta