TCP socket issue
Nagarjuna Reddy last edited by
I am using an Onion 2s device(Linux os based) for the IoT platform. Where I am running a python TCP client program to connect to a TCP server.
Suddenly it stopped sending packets to the server and started giving error, 'connection reset by peer' and followed by 'Broken Pipe error'.
Case 1. When my TCP server is running: I have started my client program multiple of time still same error(connection reset by peer and followed by Broken Pipe error)
Case 2. I have stopped my TCP server, and running TCP client it is not giving any error like 'Connection Refused' and gives the same error continuously('connection reset by peer' and followed by 'Broken Pipe error').
My onion omega device is connected to a cellular network using quectel modem(a sim card network). I have enabled PPP connection for the internet and one more service I enabled as remote connectivity.
Please help me to resolve this issue. Is there any way to clean all dead TCP connections. Thanks,