20 #ifndef BTUDPTRACKER_H
21 #define BTUDPTRACKER_H
26 #include <net/address.h>
31 class AddressResolver;
37 class UDPTrackerSocket;
62 void connectReceived(Int32 tid,Int64 connection_id);
63 void announceReceived(Int32 tid,
const Uint8* buf,Uint32 size);
64 void scrapeReceived(Int32 tid,
const Uint8* buf,Uint32 size);
65 void onError(Int32 tid,
const QString & error_string);
67 void manualUpdate()
override;
94 Int32 scrape_transaction_id;
103 static UDPTrackerSocket* socket;
104 static Uint32 num_instances;