Issue Type: Bug Bug
Affects Versions: JRuby 1.7.4
Assignee: Thomas E Enebo
Created: 20/Apr/13 3:55 AM
Description:

I have been looking at an issue with Reel: https://github.com/celluloid/reel/issues/25

The return values of BasicSocket#peeraddr and BasicSocket#addr do not match other implementations.

The socket type is incorrectly returned as AF_INET instead of AF_INET6.
And the IP addresses are not typically formed, though I guess they are JVM-style.

require 'socket'
s = TCPSocket.new("::1", 8080)
[s.addr, s.peeraddr]

Also, the DNS resolution doesn't seem to function.

Environment: Mac OS X 10.8.3
Project: JRuby
Priority: Major Major
Reporter: Tim C-S
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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