Net::Rendezvous::Publish::Service(3pm)

Net::Rendezvous::Publish::Service3pm

Usage

  use Net::Rendezvous::Publish;
  my $z = Net::Rendezvous::Publish->new;
  # publish a webserver on an odd port
  my $service = $z->publish( name => "My Webserver",
                             type => "_http._tcp",
                             port => 8231 );
  # handle callbacks for 10 seconds
  for (1..100) { $z->step( 0.1 ) }
  # stop publishing the service
  $service->stop;

Overview

A Net::Rendezvous::Publish::Service represents a service you tried to publish.

You never create one directly, and instead are handed one by the publish method.

Methods

stop

Stop advertising the service.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

Author

Richard Clamp <[email protected]>

From libnet-rendezvous-publish-perl 0.04-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.