Reliability of UDP on localhost

前端 未结 3 1625
不知归路
不知归路 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:34

    I repeat a previous answer to a related question. To remain portable always anticipate your UDP sockets might drop packets or receive out of order data.

提交回复
热议问题