Skip to content

Latest commit

 

History

History
61 lines (31 loc) · 2.08 KB

README.md

File metadata and controls

61 lines (31 loc) · 2.08 KB

Networking

Learning Resources

OSI Layer

OSI

TCP

TCP is a connection-oriented protocol. This means that it first establishes a link between the source and destination before it sends data. CP is a preferred protocol when data integrity is critical, such as in any transactional system. Eg: email and file transfer

UDP

UDP in turn is not connection-oriented. UDP starts transmitting data immediately, without waiting for connection confirmation from the receiving side. Even though some data loss can happen, UDP is most often used in cases where speed is more important than perfect transmissions, such as in voice or video streaming.

Ports

A virtual point where network connections start and end. So that multiple applications can communicate easily.

Tcp port

Port Number Process Uses
80 HTTP
443 HTTPs
3306 MySQl

To check which ports the system are using

netstat -a -b

URL (Uniform Resource Locator)

A unique identifier is used to locate a resource on the Internet. Lilke HTML, JS files.

URL Breakdown

  • Generally, the URL doesn't contains a port number in the string because it is by default. For eg, google.com or google.com:443

IP Address

IP Address

IP Address classes

IP Address classes