NatNet Unicast
Posted: Thu May 25, 2017 5:51 pm
The WinFormsSample has this in the disconnect:
However, the commands wiki doesn't list "Disconnect" as one of the commands. Does this command need to be sent? Does it do anything that the Uninitialize doesn't?
Additionally, is there any way to get a list of all the target IP's that unicast is currently sending out to? In Motive I know we can see whether we are sending to any clients, but I don't see any indication of how many / which clients we're sending to.
Code: Select all
// [NatNet] disconnect
// optional : for unicast clients only - notify Motive we are disconnecting
int nBytes = 0;
byte[] response = new byte[10000];
int rc;
rc = m_NatNet.SendMessageAndWait("Disconnect", out response, out nBytes);
if (rc == 0)
{
}
// shutdown our client socket
m_NatNet.Uninitialize();
Additionally, is there any way to get a list of all the target IP's that unicast is currently sending out to? In Motive I know we can see whether we are sending to any clients, but I don't see any indication of how many / which clients we're sending to.