the usual way for any (serious) networking server application is to log requests and responses into a file. this way you'll actually see what got there and what was sent..as UDP is not guaranteed delivery..so a trace is not an accurate measure of the conversation.
the hardest line to type correctly is: stty erase ^H