Skip to content

Instantly share code, notes, and snippets.

@khattab88
Last active August 29, 2019 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khattab88/8db5856646353bd23f85e60cc34bdd35 to your computer and use it in GitHub Desktop.
Save khattab88/8db5856646353bd23f85e60cc34bdd35 to your computer and use it in GitHub Desktop.
- we can connect to intenet using DSL modem, which is connectd through ISP (internet service provider).
- we can use home Router to brodcast wi-fi signal around the area.
- every computer on the network (ex: internet) must has an IP address
- ISP can provide a unique IP address using DHCP server (Dynamic Host Configuration Protocol)
- inside home area (within wi-fi network) your router could assign IP addresses to multiple devices (labtops, phones, ...)
- DNS servers (Domain Name System) maps an IP address of a website (which is running on some machine on the internet)
into human-readable names (like facebook.com, ....)
- computers can communicate with each other on the internet by sending and receiving packets
- TCP (Transmission Control Protocol) is used for sending/receiving packets in a reliable way
- internet using TCP/IP stack for communication
- HTTP is the web protocol (using port 80 by default or 443 for secure communication)
- you can use a tool callled traceroute to trace your http request (passing by many hobs/routers to destination)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment