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?

4

1 回答 1

1

您可以尝试以下方法,看看它是否适用于您的情况:

if (tcpServer) delete tcpServer;

希望这可以帮助。

于 2016-02-02T15:10:28.107 回答