In the last session, I state an example for the networking process. Now, I will explain it in another way.
There is an OSI model for the standard reference of communication protocol. In OSI, there are 7 self-contained layer as a step for the communication protocol. They are (from the digital process until the analogue signal) a) application, b) presentation, c) session, d) transport, e) Network, f) data link, and g) physical layer. For the simplicity, lets reduce those layer into a) application layer, b) transport layer, c) network layer, d) link layer, and e) physical layer.
I say, HTTP is the first step of networking process (for this instance TCP/IP). HTTP (Hypertext Transfer Protocol) is one of application layer. TCP (Transmission Control Protocol) present in the transport layer. Another transport layer is UDP (User Datagram Protocol). IP (Internet Protocol) is a network layer. Ethernet card is one of a link layer besides Wi-Fi card. Link layer makes analogue signal from digital signal. Then, the analogue signal is transmitted through physical layer to another communication media (like computer). The example of physical layer is coaxial cable, fiber-optic cable, or radio wave (electromagnetic wave).
Data (data packet) that we want to send, step-by-step will through the layers. The data will be somewhat converted by application layer becomes “segment”. The segment then being a “message” after converted by transport layer. Then, it will be datagram through the network layer. Finally it is being a frame before it is transferred through the physical layer after being converted by link layer.
TCP, in its activity will somewhat ask for the agreement from the destined object before it send the data. And also, it will make sure that the sent data is not damaged. If it is damaged then, TCP will ask for the data resend. In contrast, UDP (another transport layer) will not ask any feedback from the destined object. It will directly send the data.
IP is protocol that establishes the route of the data from the sender to receiver. IP needs IP addresses to establish the connection. Without IP address, the communication media cannot be identified by another digital communication media. Commonly, size of IP address is 32 bit. The example of IP address is xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx (where x is 0 or 1) or yyy.yyy.yyy.yyy (where y is a number from 0-9. yyy has maximum value 255). That commonly used IP address is a IP address 4th version (IPv4). Each IP address can only define a communication media. IPv4 have maximum combination number 232.
Now, there is new version of IP address. It is IPv6 (the 6th version of IP address). IPv6 has a size 128 bit. It contains 2128 combination number. It uses the hexadecimal number (from 0-9 then a-f). The example of IPv6 is zzzz.zzzz.zzzz.zzzz.zzzz.zzzz.zzzz.zzzz where z is hexadecimal number.
Read the rest of this entry »