Two arduinos via ethernet shield

I want to write code where the two Arduinos exchange some data (two integers) via Ethernet, on a local network. Is there any code example for that?

this applies for the Wiznet shields with Ethernet library too:

1 Like

could you give a setup code for both as well? I cannot make it work

see the examples of the Ethernet library

This is my issue, on the examples. For starters, I am not sure which model should I implement. Setup one board as web server and the other as web client? Is this enough for bidirectional data exchange?

not "web", just client and server

image

Which are the examples of the server-client model?

start with the ChatServer or PagerServer example and TelnetClient example

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.