two way UDP com with non max objects
Feb 25 2012 | 12:30 pm
this is a followup to a thread on the dev board > https://cycling74.com/forums/udp-sendrecieve-to-non-max-objects
im still having problems with ports and non max UDP comm
when i use processing (OSCp5 lib) OSCarguments example http://i.imgur.com/8Ijui.png (code pic)
i get this (via packet sniffer wireshark) http://i.imgur.com/2ufqs.png (wireshark capture) here i set a "receive" on port 6000, and a "send" on port 5656
in arduino (+ethrent shield) i set receive to port 5656 and send port to be auto assigned via ` // send a reply, to the IP address and port that sent us the packet we received Udp.beginPacket(Udp.remoteIP(), Udp.remotePort()); http://i.imgur.com/of1td.png (full code)
on max my udpsend src port is always different, it sends but max will not receive data http://i.imgur.com/6sod8.png (wireshark capture)
cant i set the destination port explicitly? how can i bind udpreceive to that auto-generated port? [udpsend 10.0.0.55 5656] even when exclipctly targeting a port i dont get anything.
i tried mxj net.udp.send, sadam.udpSender object. all with same outcome.
windows x64, max6.04