What is the TCP/IP socket?

The TCP/IP socket is used for communication between two computers. The socket includes an Internet protocol address (IP) as well as a host or port that computers use to transfer data. All applications that participate in transmission use the socket to send and receive information.

The purpose of the TCP/IP socket is to identify the unique IP address of the computer or network server along with its port number. Port numbers are sometimes referred to as hosts and say to the receiving computer where it is to send the required data. Together IP address and port number form a socket.

The port address is the port number that will be used to send and receive data. Each computer device has several different ports it uses to send and receive communication. Since some of these ports can be used by some devices such as printers, the computer must tell a different device to send information. In the internet communication, the Ethernet port port can be assigned to a specific device notBo to the server port address that is connected to several individual computers. It provides instructions where this communication should be sent. The IP address and address of the ports contained in the TCP/IP socket will tell the receiving computer where it is to send the required data. It also helps to create a kind of uniform language between machines.

When creating the sender and the receiver, they test the communication port to ensure that the data is passed. The sender can send a request that tells the receiver what his identity is. The answer is then sent back to the sender, which confirms the sender's identity and at the same time communicates the identity of the receiver. If the communication passes and the socket is conznahněnně to work, other applications for data continue.

sockets are created every time a communication protocol is created between two or more devices. At the end of the communication process, the TCP/IP socket is closed. If of himAkého is not available to the required port, it will not create a socket. The error message usually provokes the sender and the receiver that the socket failed.

applications that are used in communication, including web browsers, also use TCP/IP sockets to send and receive data. At the time the socket is used, all communications and applications are tied to the port address that is identified in the socket. As the applications send and receive data, they are looking for a specific port address or socket host.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?