go tcp programming

There are two types of network programming:

1) TCP socket programming is the mainstream of network programming. The reason why it is called Tcp socket programming is because the bottom layer is based on the Tcp/ip protocol. For example: QQ chat

2) http programming of b/s structure, when we use the browser to access the server, we use the http protocol, and the bottom layer of http is still implemented with tcp socket.

The abbreviation of TCP/IP (Transmission Control Protocol/Internet Protocol), the Chinese translation is called Transmission Control Protocol/Internet Internet Protocol, also known as network communication protocol, this protocol is the most basic protocol of the Internet and the basis of the Internet. , which is composed of the IP protocol of the network layer and the TCP protocol of the transport layer.

Client sends message to server…

The post go tcp programming first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9096
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment