You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jruby-1.7.19 :001 > require "socket"
=> true
jruby-1.7.19 :002 > Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE,true)
ArgumentError: wrong number of arguments calling bool (4 for 1)
from (irb):2:in evaluate' from org/jruby/RubyKernel.java:1107:ineval'
from org/jruby/RubyKernel.java:1507:in loop' from org/jruby/RubyKernel.java:1270:incatch'
from org/jruby/RubyKernel.java:1270:in catch' from /usr/local/rvm/rubies/jruby-1.7.19/bin/irb:13:in(root)'
The text was updated successfully, but these errors were encountered:
Well...someone needs to implement it :-) Unfortunately it's a little gnarly...it represents low-level socket structures that don't really have an equivalent on the JVM.
jruby-1.7.19 :001 > require "socket"
=> true
jruby-1.7.19 :002 > Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE,true)
ArgumentError: wrong number of arguments calling
bool
(4 for 1)from (irb):2:in
evaluate' from org/jruby/RubyKernel.java:1107:in
eval'from org/jruby/RubyKernel.java:1507:in
loop' from org/jruby/RubyKernel.java:1270:in
catch'from org/jruby/RubyKernel.java:1270:in
catch' from /usr/local/rvm/rubies/jruby-1.7.19/bin/irb:13:in
(root)'The text was updated successfully, but these errors were encountered: