Problems with ESP8266

hello i need a help please

for the code arduino :

i have a error that they not have method socket.emit() socket.on in class socketioClient

i change the librairie many time , but no have idea , to let this code work

netico14 can you please tell me , how the code work with you

thanks