Find Jobs
Hire Freelancers

A swap program

$10-30 CAD

Closed
Posted over 3 years ago

$10-30 CAD

Paid on delivery
you only need to design and implement the SWAP functions swap_read() and swap_write(). All the other SWAP functions are provided for you in the source files swap_client.c and swap_server.c. SDP is already completely implemented in sdp.c, and a checksum function is provided in checksum.c. The source modules supplied for Part 3 of the project will compile and run, but the program functionality is incomplete. To complete these programs, you should implement the following requirements: Complete the function swap_write() found in the file swap_client.c. Complete the function swap_read() found in the file swap_server.c. Implement error checking for DATA frames as well as ACK frames to provide reliable communications. Use the checksum() function found in the file checksum.c for error checking. This file is posted in the zip file attached below. Add additional print statements to your code to provide information about what the client and server programs are doing when they run. Test your SWAP client and server using the files test_swap_client.c and test_swap_server.c that are provided in the attached zip file below. Note The sender should send one frame at a time and wait for an acknowledgement before the next frame is sent. Compile and Run the SWAP Client and Server Programs You will need to test your programs on two terminals, one terminal for the server and another terminal for the client. The port number and IP address for the client should be specified as command line arguments. # Compile the SWAP server program $ gcc test_swap_server.c swap_server.c sdp.c checksum.c -o test_swap_server # Run the SWAP server program from the command line; specify the port number ./test_swap_server 8899 # Compile the SWAP client program $ gcc test_swap_client.c swap_client.c sdp.c checksum.c -o test_swap_client # Run the client program from the command line; specify the IP address and port number ./test_swap_client [login to view URL] 8899 If there are no errors in your implementation of SWAP, then swap_server will print the message sent from swap_client. Project Submission Your submission for Part 3 of the project should include six files: The updated source code for swap_client.c The updated source code for test_swap_client.c The updated source code for swap_server.c The updated source code for test_swap_server.c A screen shot of the running SWAP client program A screen shot of the running SWAP echo server program
Project ID: 27755388

About the project

2 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $15 CAD for this job
User Avatar
I have gone through the description and willing to do the job. As your slogan says "Get All of Your Work Done Here", We provide all kinds of quality work as per the need of the client. Some of the service provided By us are:- - Web Designing -Website Creation - Copy Typing - Files Conversion -Apps Development (Android, IOS, and Crossflatform too) We are a firm based in Pune, Maharashtra, India. We have an employee force of 135 people of the different fields we provide any work available out there in the market. Our working conditions:- -All the payment after the completion of the work. -Working 24/7 no Holidays -Fast and Quality work -Budget-Friendly - Within The Deadline. We are the most reliable source out there in the market for you.
$10 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi Dear, I read your description carefully. I understood what you require me to do and I am filled with confidence that I can complete your project wonderfully. I have experience over 5+ years with C/C++/Ubuntu and etc. I ensure: => The Best Quality, => The Shortest Time. If you give me a chance, I will do my best to complete this project for us. I can complete this project with the best quality in time. I hope your kind reply. Best Regards. Chian Y.
$20 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Kamloops, Canada
5.0
1
Payment method verified
Member since Oct 8, 2020

Client Verification

Other jobs from this client

build me a SQL project
$10-30 CAD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.