(broken) Debugging UDP code