Dnssd 1.1.0 Released

(On behalf of Eric H.)

dnssd version 1.1.0 has been released!

DNS Service Discovery (aka Bonjour, MDNS) API for Ruby. Implements
browsing,
resolving, registration and domain enumeration.

Changes:

1.1.0 / 2009-08-10

  • 2 Major enhancements

    • Packaging files that need to be here
    • Increased the version number
  • 1 Minor enhancement

    • Less C codes
  • 1 Bugfix

    • Increased INTERNET!

SYNOPSIS:

Registering a service:

registration = DNSSD.register ‘my web service’, ‘_http._tcp’, nil, 80

registration.stop # unregister when we’re done

Browsing services:

require ‘dnssd’

DNSSD.browse ‘_http._tcp.’ do |reply|
p reply
end

REQUIREMENTS:

  • The mdns library on OS X
  • The dns-sd library on other operating systems

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs