Can anyone see anythign glaring wrong with this? https://gist.github.com/2979084 I'm using it so I can test some UDP stuff.