Show Bid Request
Networking Homework(Repost)
Bid Request Id: 10800
|
|
|
Description:
Part I: Getting familiar with Socket Programming (30%)
It would be a good idea to read the Beej guide on socket programming. This guide is an easy introduction to socket programming. To get familiar with socket programming, you will have first to run an existing code, and then modify it. You will work on an application that allows to send a word from one machine to a server machine. The server code is source for listener.c. Download this code, compile it, and run it on host H (strangelove for example). The sender is the following code talker.c. Download this code, compile it, and run it on a different host H' than H (roadrunner for example).
Make sure that listener and talker are working fine.
Now you may proceed to bring the following changes to this program. (I advise to proceed change by change. Make one change, make it work, and save your working version. Then proceed to the next change.. and so on. You will turn in only the final version).
1) Change talker.c and listener such that they will be communicating through UDP port number 5678
2) Change talker.c such that it can send a sentence instead of a word only
3) Change talker.c such that is takes an IP address instead of the hostname of the listener.
4) Change talker.c such that it allows you to send many messages
5) Change talker.c and listener.c such that messages given to UDP are encrypted. You are free to use any encryption method. The listener must display the cipher text and the plain text
Change talker.c and listener.c such that they become stream sockets (TCP) instead of datagram sockets.
Part II: Developing a Virtual Chat Room (60%)
Develop in C or C++ a Concurrent server that allows a pair of Internet users to chat. The sever is always waiting for members to join. Suppose that an Internet user A joins. If there is no internet user already waiting, then the server tells A to wait. Otherwise, the server gives the reference of the waiting user B such that A and B can establish a DIRECT chat session. You have to develop the code for the server and for the client in C or C++ (Java is excluded).
MUST be done for Unix!!!!
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
Unix.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
(8 ratings)
in Melbourne, Vic
Australia
Bid id: 123,174
|
|
|
$20 (USD)
|
Mar 13, 2002 10:44:35 PM EDT
|
10
(Excellent)
|
|
|
Hi again,
this turns out to be a lot easier than i suspected. i will deliver this to you on the same day if you accept my bid. |
|
|
|
|
|