I was able to sort out how to send from the same port I'm listening on 
and condensed the code down to the following:

http://pastie.org/707376.txt

But it's still unable to handle proxying a connection to a FPS server, 
while the C implementation can. Any way I might be able to speed it up? 
And would threading possibly be a wise idea?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.