What is it for?
Node.js is currently being translated into 33 languages and I am contributing to translate it into Spanish. 52% of the whole the project has been translated.
This is my 3rd translation for the Node.js project and in this contribution, I finished translating the cluster.md and carried on working with dgram.md.
As I mentioned in my first publication, I am not quite familiar with computing terminology, that is why I would like to include in this publication three concepts that, although for some people they might be obvious, I did not know them and I think they are relevant to understand this translation. These concepts are:
- Socket and
I will not include cluster.md definition this time, as I have already defined it in my previous publication.
So, let's try to understand what these concepts are about.
Nowadays, the high demand of an interconnected world has caused a constant flow of information in the network that is sent from one place to another and a datagram is fundamental in this process.
A datagram is the basic unit through which all data collected in the network can be transferred on this layer 3 IP protocoll. According to wikipedia datagram:
provide a connectionless communication service across a packet-switched network. The delivery, arrival time, and order of arrival of datagrams need not be guaranteed by the network.
If you want further research please see ISO/OSI model.
Socket A socket is one endpoint of a two-way communication link between two programs running on the network. A server runs on a specific computer and has a socket that is bound to a specific port number. The server just waits, listening to the socket for a client to make a connection request.
A socket is a virtual thing, and it does not mean any hardware. It is s uniquely identified by an IP address and a Port.
UDP or User Datagram Protocol.
It is part of the Internet Protocol suite used by programs running on different computers on a network. UDP is used to send short messages called datagrams. Today, any application that needs to deliver data quickly chooses UDP over the previously dominant TCP (Transmission Control Protocol). UDP is certainly faster, but not-guaranteed transfers because it does not wait for confirmation of receiving the data, while TCP does.
UDP is widely used in video conferencing and real-time computer games. The protocol permits individual packets to be dropped and UDP packets to be received in a different order than that in which they were sent, allowing better performance.
UDP provides two services not provided by the IP layer. It provides port numbers to help distinguish different user requests and, optionally, a checksum capability to verify that the data arrived intact.
This is an example of one of the translation which includes this terminology:
A bound datagram socket keeps the Node.js process running to receive
To sum up, thanks to a datagram, sockets, and UDP all the data collected in the network can be easily transferred, they, in fact, make possible efficient data traffic on the network .
• Source Language: English
• Translated Language: Spanish
Words translated on this contribution: 1070 words.
Examples of my translations