Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
您可以尝试以下方法,看看它是否适用于您的情况:
if (tcpServer) delete tcpServer;
希望这可以帮助。