Arduino Nano - send reed switch states through network

I was wondering if you guys could help me to start a project to monitoring the state of a reed switch and send the actual state through the local network (RJ45 connection). The ethernet adapter is W5100.

Thank you.

What Ethernet shield do you have? What Arduino do you have. Please read this:- How to use this forum It will tell you how to ask a question.