PureData and MaxMSP talking over UDP or TCP
Hey all - I know this has been asked before but the topics I've seen so far haven't worked for me/left me confused.
I'm trying to just send a float from Pure Data to Max MSP running on another machine. I can set up a Pure Data -> Pure Data connection just fine, but i'm having trouble with the Max side.
Even when trying to connect from Pure Data to Max MSP on the same machine I'm having issues and Max keeps crashing. I can successfully send from Max to Max on the same machine using the 'udpsend' and 'udpreceieve' nodes. I'm not hugely confident with either so I'm not doubt doing something very wrong.
Am I sending TCP but trying to receive UDP?
I've attached screen shots of the Pure Data patch and the Max Patch.
I'm sure people have managed to set up a connection correctly - I would love if somebody could help me out?
Doesn't the netsend object in Pd default to TCP? It certainly used to - you needed to use an argument to set the object to work with UDP. That would certainly explain a bit of your problem, if that's still the case.
On PD side try "netsend -u" to switch protocol from TCP to UDP. If Max and PD are running on the same machine try IP 127.0.0.1 or localhost. Check also PD example for oscformat object.
[oscformat] connected to [netsend -u -b] in pure data
