-->
Page 2 of 2

Re: WebServer remoteIP()

PostPosted: Thu Apr 21, 2016 9:52 pm
by Darkeligos
martinayotte wrote:
Code: Select allwebserver.client().remoteIP();

Still, your question or problem isn't clear if you didn't find the above by yourself... :ugeek:


I think we're close, but I'm getting '0.0.0.0' for all remoteIPs. Have you heard of that before?

Re: WebServer remoteIP()

PostPosted: Fri Apr 22, 2016 8:14 am
by martinayotte
You should call this function while the connection still active, don't wait until the connection been closed.
For example, you can call it while sending HTML to this client, you will see that this IPAddr is not zero.

Re: WebServer remoteIP()

PostPosted: Sun Apr 24, 2016 6:50 pm
by Darkeligos
martinayotte wrote:You should call this function while the connection still active, don't wait until the connection been closed.
For example, you can call it while sending HTML to this client, you will see that this IPAddr is not zero.


Ayy it works! Thank you so much for your help!