Skip to content

Commit fd56481

Browse files
committed
on IPv4 address scarcity
1 parent d25d540 commit fd56481

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

network.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,10 @@
408408
\item Wildcard sockets are primarily used for servers. If you need to
409409
distinguish between interfaces, you need a socket per an IP address. This used
410410
to 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
415416
handshake is performed and data is being accepted. The data is stored
416417
in a fixed length buffer and after it is filled out, the connection is still

0 commit comments

Comments
 (0)