ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces
@ 2013-03-11  3:20 drbrain (Eric Hodel)
  2013-03-11 10:38 ` [ruby-core:53316] " Tanaka Akira
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: drbrain (Eric Hodel) @ 2013-03-11  3:20 UTC (permalink / raw
  To: ruby-core


Issue #8075 has been reported by drbrain (Eric Hodel).

----------------------------------------
Feature #8075: Add socket interface class to list interfaces
https://bugs.ruby-lang.org/issues/8075

Author: drbrain (Eric Hodel)
Status: Open
Priority: Normal
Assignee: 
Category: ext
Target version: current: 2.1.0


For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.

The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:53316] Re: [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces
  2013-03-11  3:20 [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces drbrain (Eric Hodel)
@ 2013-03-11 10:38 ` Tanaka Akira
  2013-03-11 17:36 ` [ruby-core:53321] [ruby-trunk - Feature #8075] " drbrain (Eric Hodel)
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Tanaka Akira @ 2013-03-11 10:38 UTC (permalink / raw
  To: ruby-core

2013/3/11 drbrain (Eric Hodel) <drbrain@segment7.net>:

> Feature #8075: Add socket interface class to list interfaces
> https://bugs.ruby-lang.org/issues/8075

> For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.
>
> The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.

I think this is a good feature to support RFC 3493
(Basic Socket Interface Extensions for IPv6).

Note that I didn't design/implement this feature just because
I have no experience with multicast.
-- 
Tanaka Akira

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:53321] [ruby-trunk - Feature #8075] Add socket interface class to list interfaces
  2013-03-11  3:20 [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces drbrain (Eric Hodel)
  2013-03-11 10:38 ` [ruby-core:53316] " Tanaka Akira
@ 2013-03-11 17:36 ` drbrain (Eric Hodel)
  2013-06-02  6:33 ` [ruby-core:55236] [ruby-trunk - Feature #8075][Assigned] " zzak (Zachary Scott)
  2013-07-02 21:53 ` [ruby-core:55762] [ruby-trunk - Feature #8075][Closed] " drbrain (Eric Hodel)
  3 siblings, 0 replies; 5+ messages in thread
From: drbrain (Eric Hodel) @ 2013-03-11 17:36 UTC (permalink / raw
  To: ruby-core


Issue #8075 has been updated by drbrain (Eric Hodel).


=begin
The one method I am concerned about is (({Socket::Interface.list})), should this be (({Socket.interface_list})) like (({Socket.ip_address_list}))?

If the patch is fine as-is, shall I commit it?
=end

----------------------------------------
Feature #8075: Add socket interface class to list interfaces
https://bugs.ruby-lang.org/issues/8075#change-37516

Author: drbrain (Eric Hodel)
Status: Open
Priority: Normal
Assignee: 
Category: ext
Target version: current: 2.1.0


For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.

The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:55236] [ruby-trunk - Feature #8075][Assigned] Add socket interface class to list interfaces
  2013-03-11  3:20 [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces drbrain (Eric Hodel)
  2013-03-11 10:38 ` [ruby-core:53316] " Tanaka Akira
  2013-03-11 17:36 ` [ruby-core:53321] [ruby-trunk - Feature #8075] " drbrain (Eric Hodel)
@ 2013-06-02  6:33 ` zzak (Zachary Scott)
  2013-07-02 21:53 ` [ruby-core:55762] [ruby-trunk - Feature #8075][Closed] " drbrain (Eric Hodel)
  3 siblings, 0 replies; 5+ messages in thread
From: zzak (Zachary Scott) @ 2013-06-02  6:33 UTC (permalink / raw
  To: ruby-core


Issue #8075 has been updated by zzak (Zachary Scott).

Status changed from Open to Assigned
Assignee set to drbrain (Eric Hodel)


----------------------------------------
Feature #8075: Add socket interface class to list interfaces
https://bugs.ruby-lang.org/issues/8075#change-39628

Author: drbrain (Eric Hodel)
Status: Assigned
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: ext
Target version: current: 2.1.0


For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.

The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:55762] [ruby-trunk - Feature #8075][Closed] Add socket interface class to list interfaces
  2013-03-11  3:20 [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces drbrain (Eric Hodel)
                   ` (2 preceding siblings ...)
  2013-06-02  6:33 ` [ruby-core:55236] [ruby-trunk - Feature #8075][Assigned] " zzak (Zachary Scott)
@ 2013-07-02 21:53 ` drbrain (Eric Hodel)
  3 siblings, 0 replies; 5+ messages in thread
From: drbrain (Eric Hodel) @ 2013-07-02 21:53 UTC (permalink / raw
  To: ruby-core


Issue #8075 has been updated by drbrain (Eric Hodel).

Status changed from Assigned to Closed

This was fixed by Socket.getifaddrs in r40593
----------------------------------------
Feature #8075: Add socket interface class to list interfaces
https://bugs.ruby-lang.org/issues/8075#change-40257

Author: drbrain (Eric Hodel)
Status: Closed
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: ext
Target version: current: 2.1.0


For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.

The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-02 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11  3:20 [ruby-core:53308] [ruby-trunk - Feature #8075][Open] Add socket interface class to list interfaces drbrain (Eric Hodel)
2013-03-11 10:38 ` [ruby-core:53316] " Tanaka Akira
2013-03-11 17:36 ` [ruby-core:53321] [ruby-trunk - Feature #8075] " drbrain (Eric Hodel)
2013-06-02  6:33 ` [ruby-core:55236] [ruby-trunk - Feature #8075][Assigned] " zzak (Zachary Scott)
2013-07-02 21:53 ` [ruby-core:55762] [ruby-trunk - Feature #8075][Closed] " drbrain (Eric Hodel)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).