I am new to Ethernet communications and need some help. I want to monitor the status of a digital pin and communicate the status over the Ethernet to another Arduino to control a relay. I only need to send a single digit, which could either be text or binary.
Speed is important. I would like to have the remote relay respond in less than 50 ms. Once the IP connection is made it will stay connected until I manually close it, and there will only be one client.
I am looking for a recommendation on what protocol to use: TCP, UDP, or Telnet? Is the Wiz5100 better for this application or can I use an ENC28J60 with the UIPEthernet library?
Thanks for your help,