Introduction - If you have any usage issues, please Google them yourself
Through the sample code to demonstrate if you are using windows API set TCP/IP heartbeat packets using TCP/IP protocol KeepAlive feature built-in disconnect to connect isolated.