Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofxUDPManager Send Not Working in Update()

$
0
0

@toliaferrode wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles