[Arduino web client] Interval problem to web server

  • Arduino Board ver. : UNO R3
  • Arduino IDE ver : 1.0.6
  • My Goal: Making fast web client with arduino
    (be able to send request to my web server with short intervals under 1000ms)
  • My problem:

I'm using basic example "web client repeat".
but It does NOT work under 1000ms intervals even though I change the code.

this part >> const unsigned long postingInterval = 10L * 1000L;

I want to make arduino web client send request with the intervals at least 500ms.
What do I do?

*my web server has no problem because I confirmed that my Iphone client can send request very fast(about 500ms)

My code is exactly same at http://arduino.cc/en/Tutorial/WiFiWebClientRepeating

Don't use a domain name for your server. That takes a lot of time to resolve. Use an IP instead.

Thank you for your answer.
I forgot to mention I use IP address.
Yes. I already use it but it does NOT work within 1000ms.

Have you considered using UDP? I can get 10 packets per second easily with UDP. However you may need both a web server and UDP if you plan on using a cellphone. Most carriers do not support UDP from a cellphone data connection.