Dave Borowitz <dborowitz@xxxxxxxxxx> writes: >> That existing implementations of the receivers treat an empty packet >> (i.e. "0004") > > or "0005\n" ;) Is that true? I think len = pkt_line(); if (!len) break; /* flush */ would give you len == 1 and would not confuse it with a flush. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html