
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Homework 2 for cs 6543 computer networks course taught by dr. Turgay korkmaz during spring 2009. Students are required to implement a simplified fully decentralized peer-to-peer network using sockets in c or java to share resources. Each peer should print its host-name and port number, ask for resources and neighbors, and flood queries when a requested resource is not available. Documentation, implementation, and execution are graded.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Spring 2009 Instructor Dr. Turgay Korkmaz
Homework 2 Due date is Feb 13, 2009 (5:00pm)
In this assignment, you will use sockets in C or Java (or any other language) to implement a simplified fully decentralized peer-to-peer network to share some resources (e.g., files) in the Internet.
You will implement a single peer program that will be run on several times on the same or different computers.
Each peer will be identified by its host-name and port-number (you can give port-number as a parameter). host-name> peer port-number
After executing a peer application,
You are asked to design and implement the necessary peer.c application and protocols for peer-to-peer communications. If needed, you can make other assumptions; but, the core of this assignment is to show that your peers are able to establish a peer-to-peer network and are able to find a resource in this network using flooding.
When implementing your program, please include extra printf statements so that I can follow your protocol and how it works.
GRADING (Total grade will be 100 points.)
Please put all your documentation, source, output files under a directory called LASTNAME-hw2, then ZIP this directory as a single file and submit it using WebCT.
Please after submission, DO NOT change or delete your soft copies, we might execute them later together for grading.
CS 6543 Computer Networks Page 1 of 1
http://www.cs.utsa.edu/~korkmaz/teaching/cs6543/assign/hw-02.htm 1/30/