Create a gist now

Instantly share code, notes, and snippets.

require 'java'
require 'socket'
puts java.nio.channels.spi.SelectorProvider.provider
puts TCPSocket.new('google.com', 80).to_channel.provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment