I want to use at the same time processing, puredata and tuio reactivision, but I can only run one, when processing is running with TUIO reactivision i have an error in PD "TuioClient: could not bind to UDP port 3333"... there is solution to this?
-
how to use processing, puredata and tuio reactivision
-
@brunof56 Normally you can only bind once. I don't know of any way to share the udp socket in Pure Data (that doesn't mean that someone else will not give you a solution).
I think it is more likely that you should bind first in Pure Data, and that you can (maybe) program SO_REUSEPORT in Processing.http://stackoverflow.com/questions/4364434/let-two-udp-servers-listen-on-the-same-port
or maybe Gilberto's solution here:
will work.
OR....... Much better, and much easier, you could receive the data on port 3333 ONLY in Pure Data, and then resend it to Processing on a different port... (or do the same thing in Processing).
David.