openframeworks/openFrameworks — Issue #773: ofxOsc getRemotePort() returns wrong port
Author: bilderbuchi
Created: 2011-10-13 07:32:44+00:00
State: open

as mentioned in http://forum.openframeworks.cc/index.php/topic,7614.msg35625
I have also experienced that, so I can confirm.

getRemotePort() returns e.g. 52555 when the real port is 12345.
according to `ofxOscReceiver::ProcessMessage` implementation, this should work, the port gets assigned when the message is processed. The only probably point of failure I can see is the comment in `IpEndpointName.h`:
`// address and port are maintained in host byte order here`, but that shouldn't be an issue when on `localhost`, no?