logoalt Hacker News

kortilla08/01/20251 replyview on HN

No, protocols directly on IP specifically can’t be used in userland because they can’t be multiplexed to multiple processes.

If everything above IP was in userland, only one program at a time could use TCP.

TCP and UDP being intermediated by the kernel allow multiple programs to use the protocols at the same time because the kernel routes based on port to each socket.

QUIC sits a layer even higher because it cruises on UDP, so I think your point still stands, but it’s stuff on top of TCP/UDP, not IP.


Replies

surajrmal08/01/2025

How do you think this works on microkernels? Do they have no support for multiple applications using the network?

show 2 replies