public static void Connect(IRobotClient Receiver, string IP, int Port, long QQ) { re = Receiver; qq = QQ; tcp = new TcpClient(IP, Port); Thread t = new Thread(new ThreadStart(Receive)); t.Start(); }
public UpdaterServer(IRobotClient <EndPointType> robotClient, bool?IsLocaly) : base(IsLocaly) { RobotClients.Add(robotClient); }