public ClientServer(int iD) { ID = iD; tCP = new TCPServer(iD); uDP = new UDPServer(iD); }
private void startThreadUDP() { udpserver = new UDPServer(); threadUDP = new Thread(udpserver.StartUdpServer); threadUDP.Start(); }