So far, putpacket() sent every char on its own. Instead, we can accumulate a buffer and write that out over TCP/IP at once, vastly reducing overhead.
Log in to post a comment.