Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Socket::HostnameResolutionResult.new
new(size)
ext/socket/lib/socket.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/socket/lib/socket.rb, line 979
def initialize(size)
@size = size
@taken_count = 0
@rpipe, @wpipe = IO.pipe
@results = []
@mutex = Mutex.new
end
No documentation available