Module chip: Esp8266EX
Development Environment: Arduino IDE
Program: AP mode module is configured to establish Sokcet Server, Internet terminal device may access through TCP Client server module, the data module via the serial port to interact with the terminal device;
Here is the code implemented
#include <ESP8266WiFi.h>
#