module Net::SSH::Transport::PacketStream

def send_packet(payload)

sent.
Enqueues a packet to be sent, and blocks until the entire packet is
def send_packet(payload)
  enqueue_packet(payload)
  wait_for_pending_sends
end