Send message over TCP from Arduino to Max/MSP

Hello everybody!

I need your help guys.

I'd like to send a message from my Arduino Uno to Max/MSP using my Ethernet shield and TCP protocol.
Arduino should send a message every time I press a button.

It seems quite simple, I know. But I can't get it!
I spent last week looking for a solution and I did not find it.

I used to use OSC messages over UDP protocol, but this time I have to use the TCP protocol.

Any help would be much appreciated!
Thanks,

michele

  1. first debug "client". get page from google.com and write it to serial port.
  2. last debug "server" : open browser on PC and print IP in adress line.