0

I am using ESP8266 WiFi module with the SMING framework. I would like to stop a TCP server. This is how I started the TCP server;

tcpServer.listen(8018);

What is the code to stop it?

guagay_wk
  • 26,337
  • 54
  • 186
  • 295

1 Answers1

1

You can try the following and see if it works in your situation:

if (tcpServer) delete tcpServer;

Hope this helps.

ProgrammerV5
  • 1,915
  • 2
  • 12
  • 22