UDPSendReceiveString

Hi,

I'm trying to put together an RFID project where an Uno with RFID shield and PoE Ethernet Shield reads a card and sends the UID over UDP to a computer via ethernet, where a processing application then records the data to csv or text file.

I'm completely new to processing, so thought i'd just try the UDP example to check out how the communication works first.

I can't however seem to get even this example to work. I use both the arduino and processing code as is, not edited. The only thing i've changed is the mac address in the arduino sketch as the ethernet shield came with an address on the back. The arduino is connected via USB of course and the ethernet shield by ethernet directly to my mac. When I run the processing sketch and hit a key nothing happens for a while then it says;

could not send message!

port:8888, ip:192.168.1.177, buffer size: 65507, packet length: 11
No route to host

I also tried the example DHCPAddressPrinter and nothing happens when monitoring in the serial monitor, it won't even display the failure message.

Is there anything else I need to change for the communication to work? Maybe something not in the sketches?

I've figured it out! Stupid me, I hadn't set up the IP and subnet on my mac correctly for a direct ethernet connection. Got it working.