Posts

Showing posts from September, 2021

TCP and UDP

Image
 TCP stands for "Transmission Control Protocol". TCP is used for encrypted communication purposes, to guarantee that all the information is correctly and reliably received in order. Without it, the data can be missing or out of order, making it useless. TCP verifies the connection by the "three-way handshake" system. Three-way handshake: 1) (Computer 1) Sends an SYN message. 2) (Computer 2) Reply sending an acknowledgment message telling that has received the message. 3) (Computer 1) And finally data can be delivered. Example of TC protocol: UDP stands for "User Datagram Protocol" UDP is also used to send and receive data, but as TCP works by three-way handshake, UDP is connectionless oriented and, therefore, faster than TCP, this means that UDP does not establish any communication session with the receiver and does not guarantee data delivery. When the computer sends data, it doesn't even know if data is received at the end this is why UDP is also kno...

IP addresses

Image
IP address stands for internet protocol which is a numeric address and is an identifier for a host connected on a network. Every host has an IP address for communication purposes. There are two types of IP addresses: IPv4 and IPv6. IPv4 The Internet protocol version 4 is the current version of IP addresses. The IP numeric address is written and represented by four groups of numbers separated by periods, each group of numbers are called octets. 1 Octet = 8 Bits. The IPv4 is a total 32 bit numeric address. The number range is from 0-225. As an example: 192.168.0.1  Talking about computers, they just can read and understand the IP addresses by a numeric format, which is called binary numbers. The binary numbers just uses 1's and 0's to understand the IP address. In the given example we said:                              192      .168              .0   ...