Through the Internet, use socket programs to setup a simple link layer protocol between your…

Through the Internet, use socket programs to setup a simple link layer protocol between your computer and a server to ful?lls the following tasks:
1) Read the small jpeg ?le umdlogo.jpeg or other ?les in a binary format using the transmitter computer or phone.
2) Pack the bit stream of the ?le into many I-frames with sizes of 1024bit (or others) payload.
3) Each frame contains a header of 01111110.
4) Each frame has a frame counter (1Byte). 5) Each frame attach with a CRC check by using a divisor x4 + x3 + x2 + 1 (11101) or standard CRC16.
6) The server will bounce back the packets at a packet error rate of 20% randomlly. When receiving the packet, perform CRC check.
7) Use stop and wait automatic repeat request (ARQ) for error control by resenting incorrect packet until it is correctly received.
8) Write the receiver bit stream to a ?le in binary format and play/show it.
9) the server address is:

2 Requirements and Suggestions

1) Working individually, NOT in groups.
2) Demonstrate your project in lecture and submit a report to Canvas on due.
3) Test sample codes as the ?rst step.
4) Use a build-in test frame to realize the function before actually transfer the ?le.
5) Addition to transfer the ?le, the option is to establish a live audio/video streaming, if time allows.

3 Socket Sample Codes in Python

import socket

import time


with open(’bugsbunny1.wav’,’rb’) as f:

message=[’{:02X}’.format(b) for b in buff]

result=bytes([int(h,16) for h in message])

with open(’1.wav’,’wb’) as f:


for i in range(50):







4 Project Format

4.1 Project Descriptions, 1-2 pages including 1 system diagram, 1 frame con?guration and 1 ?ow chart for your codes

4.2 What are the main issues you met and how you solve them

4.3 What you have learned from this project

4.4 Figures and Outcomes of your program

4.5 Original and Complete Source Codes

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!