--- a/net/server_select.lua Thu Jan 21 12:23:13 2010 +0000 +++ b/net/server_select.lua Thu Jan 21 12:56:08 2010 +0000 @@ -354,7 +354,10 @@ return shutdown( socket, pattern ) end handler.setoption = function (self, option, value) - return socket:setoption(option, value); + if socket.setoption then + return socket:setoption(option, value); + end + return false, "setoption not implemented"; end handler.close = function( self, forced ) if not handler then return true; end