It appears that I am supposed to call setsockopt before connecting -- 
which would explain why your example (which calls setsockopt before 
calling accept()) works, and mine, where it is client side, does not.  I 
have yet to figure out how to create a client socket that I can call 
setsockopt on without connecting right away.

I'll post any update
-- 
Posted via http://www.ruby-forum.com/.