'TCP socket connection not work when using AcceptTcpClient()

Currently using TCP to connect C# and python, but I am getting this

TcpClient client = listener.AcceptTcpClient();

When the system will send a message directly to me saying

System.Threading.ThreadAbortException
   at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal(intptr,byte*,int,System.Net.Sockets.SocketFlags,int&,bool)

But I am not connected to the python side, so it is not an error on the connection Has anyone had a similar problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source