This function queues packet specified in pkt in order to be send to peer along conn. yw_conn_queue_flush(3) should be used to actually send queued packets. Queueing packets serves efficiency of connection, i.e. when compression is used, they are compressed altogether, which works much better and faster then compressing them separatly. Each YwConnection has separate queue.