Show Bid Request
TCP and UDP Client-Server socket programming
Bid Request Id: 26684
|
|
|
Posted by: |
Ken (8 ratings)
(Software buyer rating 10)
|
Posted: |
Sep 8, 2002 8:46:04 AM EDT
|
Bidding Closes: |
Sep 10, 2002 11:55:35 PM EDT
|
Viewed (by coders): |
636 times
|
Deadline: |
9/11/2002
TIME EXPIRED
|
|
|
|
Description:
Your task is to write client and server programs in C and in Java using UDP and TCP. You are required to do them on a UNIX based system.
Deliverables: The server will receive a text string of up to 80 characters length. The server is expected
to run on one machine and wait for requests. Your client code will contact the server
using its host address (IP host or address and port number) and pass it a string. The server
will then change this string and send it back to the client. The client will display the
received string and exit.
Example
Assume that you started a server on machine machine1.ut.edu listening to port
number 32000. The syntax should look like the following:
-----------------------------------------------------------------------------
machine1> server 32000 <enter>
[Eventually, after the server responds, it should just
exit]
machine1>
-----------------------------------------------------------------------------
Then you ran a client on a machine (say machine2.ut.edu) using the following
arguments:
-----------------------------------------------------------------------------
machine2> client machine1.ut.edu 32000 <enter>
Enter text: This is my text to be changed by the
SERVER. <enter>
this.is.my.text.to.be.changed.by.the.server.
machine2>
-----------------------------------------------------------------------------
Important points:
•The client should send the string, wait for a response, print the response and then
exit.
•After sending the modified text string, the server should exit.
•The client should accept as input either a host name or an IP address and then the
port number.
•The client does not need to do any error checking, e.g. check to see if the host
name or IP address is valid, check to make sure the string is less than 80
characters, etc.
•If there are no upper case letters and no spaces, the server will return the exact
same string that is sent.
Your task is to write client and server programs in C and in Java using UDP and TCP.
You will end up writing (and turning in) 8 different programs:
1- Server in C using UDP (file name to turn in : server-c-udp.c)
2- Client in C using UDP ( file name to turn in : client-c-udp.c)
3- Server in C using TCP ( file name to turn in : server-c-tcp.c)
4- Client in C using TCP (file name to turn in : client-c-tcp.c)
5- Server in Java using UDP (file name to turn in : server_java_udp.java)
6- Client in Java using UDP (file name to turn in : client_java_udp.java)
7- Server in Java using TCP (file name to turn in : server_java_tcp.java)
8- Client in Java using TCP (file name to turn in : client_java_tcp.java)
Platform:
UNIX based system
Note: Apache server preferred.
Must be 100% finished and received by buyer on:
Sep 11, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
Must be completed by 08/11/02 before 11:30pm.
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, you can report it to: abuse@rentacoder.com.
|
|
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!
|
$14.50 (USD)
|
Sep 8, 2002 10:18:22 AM EDT
|
7.25
(Good)
|
|
|
hi! i have done a lot of network programming i can deliver the project very fast. thanks -manu |
|
|
|
|
|