Hey people,
I’m having this weird issue with the ofxNetwork ofxUDPManager class and am wondering if anyone has experienced the same.
So I have a class that sends a message via ofxUDPManager::Send(const char* pBuff, const int iSize) running on mac os x 10.6.3. This is sent each time testApp::update() runs.
Running on a windows xp machine is another class that receives a message via ofxUDPManager::Receive(char* pBuff, const int iSize), which receives each time testApp::update() runs.
In both classes the UDP connection is set to nonblocking. The machines are connected over a wireless LAN that I sat up just for the test.
The issue is that if the mac acts as the sender (having set up the connection with ofxUDPManager::Connect(const char *pHost, unsigned short usPort) ) and the xp machine acts as the reveiver (having set up the connection with ofxUDPManager::Bind(unsigned short usPort) ) the receiver is not receiving.
If I switch the classes between the machines such that the mac is the receiver and the xp machine the sender everything works as supposed to.
Also everything works if both classes run locally on the mac in two separate xcode projects. I have not tested the two programs running locally on the xp machine.
Any ideas why this could be?