Is there a way in python to flush a socket once a request has been sent and the information has been obtained correctly?
I have a socket that is used to send different commands at different times, so I was just wondering if this was possible.
Any help would be greatly appreciated.