Tag Archives: Projects

UBTorrent 32-bit Linux binary uploaded

Sorry it took me a while since I couldn’t find a suitable machine. Justin told me (thanks!) about the gcc -m32 option and here it goes.

Posted in Project 2 | Tagged | Leave a comment

Assignments, Midterm and Project 1

Please collect your assignments / go over your midterms during office hours this week if you haven’t already done so. You should receive an email with your project1 grade and comments by the weekend. Office hours: Aditya, Tuesdays noon – … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Recitation Notes

You can use the bendecoder provided by calling the be_decode function as mentioned in the Dr. Ngo’s post. This will return a pointer to a be_node. You can lookup the bencode.h file for the implementation of this structure. Note that … Continue reading

Posted in Project 2 | Tagged , | 6 Comments

Info hash and the ben decoder

The info hash field in the output of the metainfo command is supposed to be SHA1(value), where value is the value of the info key in the torrent file. The info key’s value is a dictionary which begins with a … Continue reading

Posted in Project 2 | Tagged | 2 Comments

Project 2 Grading Criteria Posted

Find it here.

Posted in Project 2 | Tagged | Leave a comment

A note on my implementation of UBTorrent

My ubtorrent only send out choke/unchoke messages after every 10 seconds. This has the following somewhat peculiar effect that you may want to notice when you test yours against mine; Suppose you run mine as a seeder, and yours as … Continue reading

Posted in Project 2 | Tagged | Leave a comment

Questions about UBTorrent?

I didn’t receive many questions about UBTorrent, and that makes me worried. You have to start now! Start implementing the metainfo command first, then announce and trackerinfo. Please ask questions soon, before it’s too late.

Posted in Project 2 | Tagged | 49 Comments

UBTorrent binaries uploaded

Find them here. This is release 0.7. You can use the release to test your implementation. Please let me know if you have trouble running any of them. The release should be stable. I will probably add cosmetic changes in … Continue reading

Posted in Project 2 | Tagged , | Leave a comment

Summary of lecture on Mon Oct 18

We spent the entire lecture on programming assignment 2. There are a lot of technical details omitted. I have asked the TAs to cover the specification in the recitations too. Robert asked how often should we do peer re-ranking for … Continue reading

Posted in Lectures, Project 2 | Tagged , | Leave a comment

Announcements

Assignment1: Available for pick up next week during office hours and recitations. Project1: If you and your partner have submitted individual copies of the same project, please send Anand and Aditya an email with your UBIT names.

Posted in Assignments, Project 1 | Tagged , , | Leave a comment