udpsend and udpreceive communication problems
Hi there
I need to send number values from one mac Max Patch to another on another machine over the same home network. Im new to this but having problems (it could be something simple). I tried using the examples from max and put the udp send on one machine and udp recieve on the other (Both are in the max patch attached). They work fine when they are both in the same patch but don't seem to be sending the messages across the network when I have them on separate machines. Any help would be great. Thanks!
On the udpsend object, "127.0.0.1" or "localhost" means that particular machine.
When sending to another machine on the network, you need to know the IP address of that other machine and use that value instead (e.g, 192.168.0.4).
Search on Google for how to find the local IP address of a computer, according to the OS (Mac, Windows).
It sure is advisable to learn about getting IP and all that stuff,
but you can also in most cases broadcast to
255.255.255.255
udpsend 255.255.255.255 6666
will be received on all computers across the network on port 6666