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.