Answer the question
In order to leave comments, you need to log in
How to understand what is TCP/IP?
Good afternoon
For the umpteenth time I'm trying to understand how TCP / IP works and I can't get it.
As I understand it, there are four levels:
Answer the question
In order to leave comments, you need to log in
Here you select the communication protocol. Ok, let's say HTTP or HTTPs. And it has an API
. There is such a JSON Server plugin. There is a json database. But if I want to use OpenServer instead of JSON Server, can I do it with resin? Is it possible to connect to the SQL database via the REST API or in general how is it?
video = non-educational material
read something from a selection of books
Your first mistake is watching videos instead of reading books. Hence the confusion in terms.
IP is a routing protocol, i.e. package delivery. Delivery is unreliable - packages can get lost, duplicated, and delivered out of order.
Those who are not afraid of this use UDP. And those who do not want to deal with these problems - use TCP, which tracks the problems of the IP protocol.
The layered protocol model is easiest to think of as a hierarchy of subroutines that call each other.
The channel protocol, roughly speaking, determines the way data is encoded in the cable: the modem whistles at an audio frequency (from 300 to 3000 hertz), and Etnernet at 10 or 100 Mbps uses a frequency approximately equal to the data transfer rate - from 5 to 10 MHz or from 50 to 100 MHz respectively.
Theory without practice is dead. For practice, take WireShark, isolated mesh and play.
If you're programming, try writing a simple application using TCP to understand it, and then play around with the data using WireShark to see how it all works. It is possible for the general development to begin with UDP - it is more clear.
After reading the books, I had some idea, but when I had to write DHCP / BOOTP and TFTP servers at work, everything became quite clear. Then I also programmed on SLIP/TCP.
It turned out to be very useful.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question