Im new using arduino + esp8266.
Im using an external source for esp8266 and an arduino connected to my notebook.
I am seeing my ESP8266 connected to my wifi network and im able to ping it with sucess. Buttttt.... When i create a tcp package, i get the error: Create TCP err
lets check the code:
if (wifi.createTCP(0,HOST_NAME, HOST_PORT)) {
Serial.print("create tcp ok\r\n");
} else {
Serial.print("create tcp err\r\n");
}
What im doing wrong?