View Single Post
Unread 09/06/2017, 11:36 AM   #2533
Matjj2479
Registered Member
 
Join Date: Sep 2017
Posts: 3
Quote:
Originally Posted by mpots View Post
Did you edit the ethernetclient.h and ethernetclient.cpp files? I suspect that's the issue, it looks like the compile issue you have is because the ethernetclient files don't have the method you need to add.

Instructions from the documentation here are also pasted below: https://github.com/d0ughb0y/Chauvet16/

You will also need to edit the Ethernet library to add a new method for getting the ip address of the incoming connection.

Edit EthernetClient.cpp and add this to the end of the file:

uint8_t* EthernetClient::getRemoteIP(uint8_t remoteIP[])
{
W5100.readSnDIPR(_sock, remoteIP);
return remoteIP;
}


Edit EthernetClient.h and add this to line 25:

uint8_t* getRemoteIP(uint8_t RemoteIP[]);//adds remote ip address

There both as said in the instructions. That's what's confusing me so much


Matjj2479 is offline   Reply With Quote