Get the App
SLTechnology News&Howtos  ›  Servers  › 

What kind of concept is the server?

Shulou Source: shulou.com Published: 2022-06-02 07:36:42 10月02日 Update

After learning socket programming, we should understand that when we are a socket client, a socket server, both sides use socket to communicate

But now we use the bplash s mode to do the website development system, we use the browser, the browser is equivalent to the socket client, and the server is also equivalent to our socket server, so what is the server? The server is a piece of code, sun we provide tomcat, but this server is more powerful than the socket server we wrote. Although we socket programming using socket,b/s using the http protocol, in fact, the bottom is the same, the http protocol is only encapsulated socket.

So the server is just a powerful piece of code, that is, call the class execution method, get the result, and then return the result to the browser through the http protocol, much the same as socket programming, but the http protocol, inside things, need to learn and understand.

Tags: Service server but browser browsing programming power code client client that is result more or less the same thing company bottom layer method time pattern system Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei macOS vpn Shulou Information Shulou Technology