Use getopt() to parse input in UDP client and add some comments.
Remove unused debugging message.
Merge pull request #2 from hirenp/master

Add getopt() to UDP client and add some comments.