The Q Message The q message looks like this: q:\r\n Again a hexdump: 0000000000: 71 3A 0D 0A q:.. The q message is used to terminate a connection.