iij/mruby-socket

TCPServer.new cannot handle explicit nil for hostname

postmodern opened this issue · 1 comments

TCPServer.new(1337,nil)
mruby/build/mrbgems/mruby-socket/mrblib/socket.rb:251: nodename must be String or nil (TypeError)

Actually this is an API mismatch with MRI's TCPServer.