Reliability of UDP on localhost

前端 未结 3 1623
不知归路
不知归路 2021-01-04 09:57

I know that UDP is inherently unreliable, but when connecting to localhost I would expect the kernel handles the connection differently since everything can be handled inter

3条回答
  •  天命终不由人
    2021-01-04 10:23

    I don't think that UDP (or any other network protocol) says anything about different behavior when connecting to localhost. So the answer will depend on the specific kernel that you're using. Best to assume that UDP will behave like UDP.

提交回复
热议问题