« Previous - Version 2/6 (diff) - Next » - Current version
olivier dufour, 04/08/2009 10:27 PM


Tracker example

 1 
 2 tracker = new Tracker();
 3 tracker.AllowUnregisteredTorrents = true;
 4 tracker.RegisterListener(listener);
 5 listener.Start();
 6 
 7 //trackable inehrit from ITrackable and must implement getters:
 8 // TorrentFile[] Files, InfoHash InfoHash, string Name
 9 
10 tracker.Add(trackable);
11 

Also available in: HTML TXT