tcp connections also consume more resources than a single udp socket. Yes, but that's not the right comparison. It's more like tcp state vs. rx state (reliability & flow control, not mux/demux). I don't know which consumes more resources. The rx state is kept in user space, so it's lower impact than tcp state.