public void Connect(IPAddress ipAddress, int portNumber) { rlGlueConnection.Connect(ipAddress, portNumber); rlGlueConnection .Send() .State(RlGlueConnection.ConnectionState.AgentConnection) .And() .SizeOfState() .Flush(); }
public void Connect(string host, int port) { rlGlueConnection = new RlGlueConnection(); rlGlueConnection.Connect(host, port); rlGlueConnection .Send() .State(RlGlueConnection.ConnectionState.ExperimentConnection) .And() .SizeOfState() .Flush(); }