ofxUDPManager Send Not Working in Update()

Hi, I’m trying to develop a simple UDP application for testing. It’s based off the UDP Send and Receive examples. I can receive in Update() but not send from there. If I try it, I get this error: `

p, li { white-space: pre-wrap; }

[ error ] ofxNetwork: /home/daniel/Development/of_v0.9.8_linux64_release/addons/ofxNetwork/src/ofxUDPManager.cpp: 248 EINVAL: invalid argument

After reading the source code line the error points to, it seems to have something to do with sending timeout. I tried setting the timeout to 1 second, but it did nothing.

Send works from mouseReleased and stuff, but I need update because I need to be constantly sending and receiving data.

Edit: It actually works fine, but it still errors. Thanks community.