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 internally. So in this special case, is UDP considered a reliable protocol, or will the kernel still potentially junk some packets if buffers are overrun?
相关问题
- Where is the standard kernel libraries to let kern
- Nullpointer exception when trying to receive UDP m
- How iperf calculates network statistics
- Trouble with SPIDEV, device tree and .dtbo name wi
- Java UDP socket - Data are left over at the server
相关文章
- How do I get to see DbgPrint output from my kernel
- Is it possible to run 16 bit code in an operating
- How to arrange a Makefile to compile a kernel modu
- Tool to Debug Guest OS in Virtual Box
- as3 ByteArray to Hex (binary hex representation)
- C# UDP Proxy / Pipe
- iphone problem receiving UDP packets
- How can the linux bottom halfs execute in interrup
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.
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.
I have seen UDP to localhost dropping packets. We think we were overloading the kernel queue. All we know for sure is that it was dropping packets.