microsoft / RoomAliveToolkit

Other
714 stars 191 forks source link

Can't Find Kinect Servers on Other IP Schemes #86

Open wderstine opened 5 years ago

wderstine commented 5 years ago

I'm having issues with finding Kinect Servers on different IP Schemes even though they are on the same network. So if my Unity App is on XX.XX.76.XX I can connect to any Kinect Server running on the XX.XX.76.1 gateway. But when my Unity App is on XX.XX.94.XX I can't connect to any Kinect Servers on XX.XX.76.1 gateway. The Firewall is down and I can ping between them fine. Is there any reason why this isn't working?

wderstine commented 5 years ago

I was able to fix the problem by adding a deprecated line of code at line 192 of the TCPNetworkStreamer.cs. So instead of: server = new TcpListener(listenEP); I used the port(server_port) that you put into listenEP, into a new TcpListener Like so: server = new TcpListener(server_port);