SampleClient and SampleServer running on Same Machine
Posted: Wed Sep 20, 2017 3:31 pm
I am new to the Natnet sdk, if it is a question being asked before, apologize in advance. But I do need help on this.
I don't have Motive or Arena installed. only downloade NatNet sdk 2.10 and its sample Code.
Running SampleServer project.
I got this NatNet Simple Server (NatNet ver. 2.10.0.0)
IP Address : 169.254.66.15
IP Address : 10.162.8.79
IP Address : 127.0.0.1
Socket error 10049: WSAEADDRNOTAVAIL
Socket error 10038: WSAENOTSOCK
Socket error 10038: WSAENOTSOCK
Socket error 10038: WSAENOTSOCK
Socket error 10049: WSAEADDRNOTAVAIL
Server initialized on 169.254.X.Y.
...
I am able to use s to send frame in console window.
Then on the same machine, I run the SampleClient, it gives me Host Not Present error.
Running SampleClient3D project:
if I use
IP address: 127.0.0.1 Server address: 169.254.X.Y
I got Host Not Present error
If I use
169.254.X.Y as IP AND Server address, natnet.initialize() function will fail at ERRCODE_OK
Both SampleClient and SampleServer is using Multicast
Question:
1. Is SampleClient able to receive anyting from SampleServer(when it is running) without Arena or Motive is running?
2.If possible, what I did wrong? If they are using multicast, why client not specify multcast group number anywhere?
Thanks
I don't have Motive or Arena installed. only downloade NatNet sdk 2.10 and its sample Code.
Running SampleServer project.
I got this NatNet Simple Server (NatNet ver. 2.10.0.0)
IP Address : 169.254.66.15
IP Address : 10.162.8.79
IP Address : 127.0.0.1
Socket error 10049: WSAEADDRNOTAVAIL
Socket error 10038: WSAENOTSOCK
Socket error 10038: WSAENOTSOCK
Socket error 10038: WSAENOTSOCK
Socket error 10049: WSAEADDRNOTAVAIL
Server initialized on 169.254.X.Y.
...
I am able to use s to send frame in console window.
Then on the same machine, I run the SampleClient, it gives me Host Not Present error.
Running SampleClient3D project:
if I use
IP address: 127.0.0.1 Server address: 169.254.X.Y
I got Host Not Present error
If I use
169.254.X.Y as IP AND Server address, natnet.initialize() function will fail at ERRCODE_OK
Both SampleClient and SampleServer is using Multicast
Question:
1. Is SampleClient able to receive anyting from SampleServer(when it is running) without Arena or Motive is running?
2.If possible, what I did wrong? If they are using multicast, why client not specify multcast group number anywhere?
Thanks