Hello
I have a arduino ethernet that work as a server-
when someone connect to him he see a simple page with 4 HTML lines.
my problem is that when I ping to the Arduino while connecting to him on the browser I get very long ping ~3500mSec and more
any reason why? maybe something in the code is killing him?
I do refresh once every 1 seconds - maybe this is the problem?
I do refresh once every 1 seconds - maybe this is the problem?
Yes, this probably is the problem. The way you have programmed your sketch every character is sent in a separate packet, so you have several hundred packets to be sent for one page. You can make your sketch much faster if you don't use the print()/println() methods but only the multi-byte write() method.
I wanted to see the date in the HTML page
so I will know when was the last event (if you have another better idea how to do this I will love to hear and learn ).
but if you think this is one of the reason it work slow and "kill" the network , I will remove it.
2.I have change this part (and the name )
3.so how can I make the LED to be blink for amount of time while the client is seeing the page?
I want to see LED and also massage on screen
I'm now trying to write it from start and remove all the unnecessary serial print and massages , I will upload it when I'm done , so if you can help me with with at least question 3 it will be great !