Page 1 of 1

CreateClient in NatNet SDK

Posted: Tue Oct 16, 2012 7:03 am
by evian2
Hi there

I have a problem using the SampleClient from the NatNet 2.2 SDK. Everything works fine until the creation of the client:

// Create NatNet Client
iResult = CreateClient(iConnectionType);

And in CreateClient:

cout Initialize(szMyIPAddress, szServerIPAddress, MyServersCommandPort, MyServersDataPort);
cout << "test2" << endl;

Now I can see "test1", but then the function call Initialize() results in displaying the received data in an infinite loop (there is no problem with the data) and "test2" will not be displayed in the command window and neither the rest of the code after the CreateClient call in main.

How is that possible?

Thanks

Edit: Actually, there is something wrong with the data, "received Frame" is always -1.