Use right sizeof()
Fix the order of evaluating th queue depth.
Add a new test UDP client that at least gets IPv4 UDP sending to
work.

Terribly horrible and I already don't like my UDP setup functions.