Skip to content

@jstorimer /gist:3254777
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
require 'socket'
# Ruby 1.8
Process.getrlimit(Process::RLIMIT_CORE)
Process.getrlimit(Process::RLIMIT_NOFILE)
# Ruby 1.9
Process.getrlimit(:CORE)
Process.getrlimit(:NOFILE)
# Ruby 1.8
Socket.new(Socket::AF_INET, Socket::SOCK_STREAM)
Socket.new(Socket::AF_UNIX, Socket::SOCK_DGRAM)
# Ruby 1.9
Socket.new(:INET, :STREAM)
Socket.new(:UNIX, :DGRAM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.