Tsipi, a new protocols for sockets.
Hello, everyone.
In the last three videos of this section, we're going to create the most interesting project so far.
Namely, we're going to create a server and client which will communicate with the server and we will
do that two times.
So in this video, I'm going to talk about how we use disciplinary protocols for creating servers and
clients.
And in the next two videos, I will create the actual Tsipi and UDP clients and servers.
So in the next video, we're going to be talking about the TCAP client and server.
And I will show you how we can create them and use them.
And we will send a single informational message.
And then I will create a UDP server and client and you will be able to chat with your client over the
board that you're connected from the client to the server.
And this is basically in general, the concept of chatting is exchanging messages on the web.
So you see how this is done and how two people can communicate only by a code written by you.
So in general, the properties of the sockets pretty much depend on the protocol with which they're
implemented.
So normally the communication within the sockets between the client and the server is done by the Tsipi
and the IP address family, which uses the two most common protocols, which are the discipline, the
UDP.
So if you're looking at the properties that the DP protocol has, for example, it is a connection oriented.
It really prevents so what we have from errors.
So once you connect from the server to the from the client to the server, you can be sure that you
will not generate any errors because there doesn't crush the DCP client anticipate.
And actually copies are very good with errors.
And the very specific thing for the TCAP protocol is that every message reaches the desired location
in order.
For example, always the first message goes first and the last message goes last.
So it just first send it first received concept.
If we talk about the unity protocol on their site, it is actually not connectional related protocol,
unlike the dispute protocol.
So it doesn't guarantee that the message goes without errors, but it guarantees that the message actually
arrives in a reliable way.
And finally, the specific thing for the Europese that the messages that are sent it are not guaranteed
to be received in the same order that they send it.
So we can say that the is way more dynamic and the random protocol comparing to the Tsipi.
So for that reason, we want this both of them, as they are very different from each other.
So in order to do the communication between the client and the server or something called network programming,
you need to use the sockets, the socket function, which is available in the python socket module,
and we actually already use this function in order.
To connect to the Web based servers, we're also going to be using in the last two videos functions
such as the Viant function, which is a method that binds a hostname and a birth name to a socket.
We're going to be using the listen method, which is basically configuring and starting with this listener.
And also we're going to use the same function, which will basically declare when the connection is
accepted and how much time it will be waiting until the message has been arrived.
So this was the introduction days to the next two videos.
I hope it was clear because.
In the next what in the next one, we're going to start coding our server and our typical.
So I hope you enjoy the next two videos, but for me, that was everything for today.
And I will see you in the next one.