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