arduino_uip
arduino_uip copied to clipboard
How to recover the IP address of the client?
Hello, I would like recover the IP address of the client.
I already tried to add this line in UIPClient.cpp:
uint8_t *EthernetClient::getRemoteIP(uint8_t remoteIP[]) { W5100.readSnDIPR(_sock, remoteIP); return remoteIP; }
and this line in UIPClient.h:
uint8_t *getRemoteIP(uint8_t RemoteIP[]);
But it does not work :(
Could you help me please?
Thank :)