On Sat, Dec 14, 2013 at 3:10 AM, Grant Edwards <invalid@invalid.invalid> wrote: > Adding boundaries to a TCP stream achieves the same goal (and isn't > that hard to do), but since there's no standard for it, people keep > having to reinvent it (often badly and always incompaibly).
Nearest to a standard would be the way heaps of internet protocols are line-based - SMTP, POP, IMAP, FTP, and to a lesser extent HTTP as well. The end-of-line sequence \r\n delimits messages. ChrisA -- https://mail.python.org/mailman/listinfo/python-list