Please enable it again!
How to make a TCP server ?? and after that how can i listen to the clients messages???
Are you sure you don't want to use RPC mechanism?
i want a network for send and receive messages between 2 esp8266. i don't know what is PRC. how can i use it?
then you don't need a tcp server.
learn about rpc, https://mongoose-os.com/docs/#/rpc/
and watch videos at https://mongoose-os.com/video-tutorials.html#video6