When doing IPC using TCP/IP sockets using the loopback address, do common networking stacks skip framing the message in lower-level PDUs?

后端 未结 3 875
迷失自我
迷失自我 2021-02-04 07:33

In some environments such as Java, it\'s natural to use TCP/IP sockets to pass messages between processes on the same host using the \'localhost\' address (127.0.0.1 in IPv4, or

3条回答
  •  长情又很酷
    2021-02-04 08:09

    Depends upon the OS, and the configuration being used. The answer is yes if you are asking for default behavior.

    This is the reason why you are not able to use tools like wireshark to sniff local loopback scenarios.

提交回复
热议问题