Issue #8042 has been updated by headius (Charles Nutter).


Objection: why would an "info" object be able to create a socket?

Wouldn't Socket.unbound_socket(addrinfo) make more sense?
----------------------------------------
Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
https://bugs.ruby-lang.org/issues/8042#change-40099

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


This adds a socket method to Addrinfo to get a socket that has not been bound or connected to any address for connectionless operation.


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