Flowdock
bind_random_port(udpsock) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/resolv.rb, line 590
    def self.bind_random_port(udpsock) # :nodoc:
      begin
        port = rangerand(1024..65535)
        udpsock.bind("", port)
      rescue Errno::EADDRINUSE
        retry
      end
    end
Register or log in to add new notes.