Now when i am thinking about it , In my project i am going to use local server i mean the same computer where the router is going to be connected , Can i connect to this host some how "locally" to shorten the connecting+sending time , something like home network through esp ?
Hmm my computer host server and i connect trough wifi so i should make port forward with port 80 to my computer , so inside host for Begin function i will put my router ip ? am I on the right direction ?
Will it reduce the time ?
Is this what i am looking for ? UDP ?
http://www.iotfrog.com/en/articles/article/227