Answer the question
In order to leave comments, you need to log in
How to restore python socket connection?
Hello. I have a client server application. When I disconnect from the server using client.shutdown(socket.SHUT_RDWR), client.close(), and try to reconnect, I get "Connection failed: [WinError 10038] An operation was attempted on a non-socket object." How can I get around this error?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question