AMAZING! This code was exactly what I needed for quickly sending small packets between two computers, both sending and receiving. Using test code in a small loop I was able to gt loops that took on average around 10 ms. I couldn't believe it, since the computers I was testing this with were relatively slow.
(p.s. i want to give give code 5 stars, but the website's java isn't working so it won't let me submit my rating.)