Ballz.Network.Connection.Connection C# (CSharp) Метод

Connection() публичный Метод

Initializes a new instance of the Connection class and connects to the specified port on the specified host.
public Connection ( string host, int port, int id ) : System
host string The DNS name of the remote host to which you intend to connect.
port int The port number of the remote host to which you intend to connect.
id int Id for this connection
Результат System
        public Connection(string host, int port, int id)
            : this(new TcpClient(host, port), id)
        {
        }

Same methods

Connection::Connection ( TcpClient connection, int id ) : System