Net::Rendezvous::Publish::Service3pm
Usage
use Net::Rendezvous::Publish;my $z = Net::Rendezvous::Publish->new;# publish a webserver on an odd portmy $service = $z->publish( name => "My Webserver",type => "_http._tcp",port => 8231 );# handle callbacks for 10 secondsfor (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.