示例#1
0
        static void Main(string[] args)
        {
            Console.Title = Application.ProductName;
            Console.WriteLine(kinectServerVersion());

            short port         = portNumber();
            KTcp  KinectServer = new KTcp(port);
        }
示例#2
0
        static void Main(string[] args)
        {
            Console.Title = Application.ProductName;
            Console.WriteLine(kinectServerVersion());

            short port = portNumber();
            KTcp KinectServer = new KTcp(port);
        }
示例#3
0
        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();
        }
示例#4
0
        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();
        }