I want to establish a connection between my arduino mega ( which is connected to an ethernet shield so internet access is available) to a web server. Any idea how the code should be? I searched for it but all I found was a local host connection establishment. Thanks in advance.

  • 2
    None of the examples in the IDE help you?
    – Majenko
    Apr 27 '18 at 14:38
  • That's the one thing i forgot to check. I'll get to it right now. Apr 27 '18 at 14:39

The answer of this was already existing in the arduino examples which I forgot to check at first. Thanks Majenko for making me notice.

  • @jsotola - actually this is an answer, as it resolves the question. When a solution is posted as a comment, summarizing it in an answer is permitted; short of closing the question (as subsequently happened here) it's typically the only way the system can be convinced to consider the issue resolved and avoid having it bubble back up every few months to annoy everyone. Apr 28 '18 at 15:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.