|
libktorrent
2.1.1
|
#include <outputqueue.h>
Public Member Functions | |
| int | add (const PacketBuffer &packet, Connection::WPtr conn) |
| void | send (net::ServerSocket *sock) |
Manages the send queue of all UTP server sockets
Definition at line 55 of file outputqueue.h.
| int utp::OutputQueue::add | ( | const PacketBuffer & | packet, |
| Connection::WPtr | conn | ||
| ) |
Add an entry to the queue.
| data | The packet |
| conn | The connection this packet belongs to |
| void utp::OutputQueue::send | ( | net::ServerSocket * | sock | ) |
Attempt to send the queue on a socket
| sock | The socket |
1.8.18