https://docs.python.org/3/library/socket.html#socket.socket.recv_into Adding _into methods would allow for a long lived buffer provided by the client code rather than a new, potentially large, buffer every read.