arduino_uip icon indicating copy to clipboard operation
arduino_uip copied to clipboard

How to recover the IP address of the client?

Open Quentlac opened this issue 6 years ago • 0 comments

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 :)

Quentlac avatar Apr 24 '18 15:04 Quentlac