File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 408408\item Wildcard sockets are primarily used for servers. If you need to
409409distinguish between interfaces, you need a socket per an IP address. This used
410410to be used for web servers that distinguished virtual servers based on the IP
411- address. However, that is remote past. To distinguish between virtual servers
412- running on the same host, a HTTP header \uv {\texttt {Host: }} is used. Similarly,
413- the TLS protocol uses the \texttt {ServerName } extension.
411+ address. However, that is remote past. These days, with the scarcity of public
412+ IPv4 addresses that would not be practical. To distinguish between virtual servers
413+ running on the same host, the \uv {\texttt {Host: }} HTTP header is used.
414+ Similarly, the TLS protocol uses the \texttt {ServerName } extension.
414415\item The fact that the system starts listening on a port means that a TCP
415416handshake is performed and data is being accepted. The data is stored
416417in a fixed length buffer and after it is filled out, the connection is still
You can’t perform that action at this time.
0 commit comments