Class Socket is missing #bind
-----------------------------

                 Key: JRUBY-2758
                 URL: http://jira.codehaus.org/browse/JRUBY-2758
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
         Environment: Mac OS X 10.5.4 PPC, Java 1.5
            Reporter: Chuck Remes


Socket#bind appears to be missing:

/usr/local cremes$ jirb
irb(main):001:0> require 'socket'
=> true
irb(main):002:0> sd = Socket.new( Socket::AF_INET, Socket::SOCK_STREAM, 0 )
=> #<Socket:0x20ca8b>
irb(main):003:0> sd.bind( Socket.pack_sockaddr_in( 8008, '127.0.0.1'))
NoMethodError: undefined method `bind' for #<Socket:0x20ca8b>
        from (irb):4

The same code works correctly in MRI 1.8.6 p114.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to