[Error] create tcp err
Posted: Sat Aug 20, 2016 1:03 pm
hi!
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:
What im doing wrong?
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:
Code: Select all
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?