Quantcast
Viewing all articles
Browse latest Browse all 40524

ofxUDPManager - bi directionnal

the syntax of the udp manager class is kind of strange. upd is not a connection oriented protocol, that means that although you call connect in one of the sides, that it's only storing the ip an port to which messages will be sent later, also since there's no real connection the listening side doesn't know where to send the messages.

in order to be able to send and receive on both sides you need to call both Bind and connect in both managers, also if both are running in the same machine you can't use the same port when binding and one has to connect to the port that the other is binding


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>