示例#1
0
        public void Connect(IPAddress ipAddress, int portNumber)
        {
            rlGlueConnection.Connect(ipAddress, portNumber);

            rlGlueConnection
            .Send()
            .State(RlGlueConnection.ConnectionState.AgentConnection)
            .And()
            .SizeOfState()
            .Flush();
        }
示例#2
0
        public void Connect(string host, int port)
        {
            rlGlueConnection = new RlGlueConnection();
            rlGlueConnection.Connect(host, port);

            rlGlueConnection
            .Send()
            .State(RlGlueConnection.ConnectionState.ExperimentConnection)
            .And()
            .SizeOfState()
            .Flush();
        }