Modified packet size to adjust to input

I believe the efficiency is the best it can be and no longer uses
regular UDP. Results from running tests cases with this code looks even
better.