I have a single-threaded application where I handle the socket reading (via select.select() and buffering the data) and needed status() to not block. Once I get a message I then need to parse it, so I moved the parsing part of _send_receive() into its own function to make it easier to call.
I have a single-threaded application where I handle the socket reading (via select.select() and buffering the data) and needed status() to not block. Once I get a message I then need to parse it, so I moved the parsing part of _send_receive() into its own function to make it easier to call.