static void Main(string[] args) { Console.Title = Application.ProductName; Console.WriteLine(kinectServerVersion()); short port = portNumber(); KTcp KinectServer = new KTcp(port); }
public KClient(KTcp _server, TcpClient _client, KinectSensorCollection _sensorList) { client = _client; server = _server; sensorList = _sensorList; threadClient = new Thread(new ThreadStart(clientComm)); threadClient.Name = "Client " + ((IPEndPoint)client.Client.RemoteEndPoint).Address; threadClient.Start(); }