Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 560 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 560 Bytes

Summary

The goal of this project is to take a URL on the command line and downloads the associated file. The implementation includes protocols from Data-link Layer to Application Layer with the basic raw socket. The main work is about building the Ethernet, IP and TCP headers in each packet.


Implementation of Each Layer

Ethernet Header IP Header TCP Header HTTP Data Padding
14 byte 20 byte 20 byte or more add to 64