Net::Rendezvous::Publish(3pm) | User Contributed Perl Documentation | Net::Rendezvous::Publish(3pm) |
Net::Rendezvous::Publish - publish Rendezvous services
use Net::Rendezvous::Publish; my $publisher = Net::Rendezvous::Publish->new or die "couldn't make a Responder object"; my $service = $publisher->publish( name => "My HTTP Server", type => '_http._tcp', port => 12345, ); while (1) { $publisher->step( 0.01 ) }
Creates a new publisher handle
Returns a Net::Rendezvous::Publish::Service object. The following keys are meaningful in the service definition hash.
Spend at most $seconds seconds handling network events and updating internal state.
At some point I may learn enough of the mDNS protocol to write a pure-perl responder. That'll be nifty.
Richard Clamp <richardc@unixbeard.net>
Copyright 2004, 2005, 2006, Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Net::Rendezous - for service browsing.
Net::Rendezvous::Publish::Backend::* - you'll need one of these to talk to your local mDNS responder.
2022-06-30 | perl v5.34.0 |