Query: net::rendezvous::publish
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Net::Rendezvous::Publish(3pm) User Contributed Perl Documentation Net::Rendezvous::Publish(3pm)NAMENet::Rendezvous::Publish - publish Rendezvous servicesSYNOPSISuse 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 ) }DESCRIPTIONMETHODSnew Creates a new publisher handle publish( %definition ) Returns a Net::Rendezvous::Publish::Service object. The following keys are meaningful in the service definition hash. name A descriptive name for the service. type The type of service. This is string of the form _service._protocol. port The port on which you're advertising the service. If you're not using a port (and instead just using mDNS as a way of propogating other service information) it's common practice to use 9 (the discard service) domain The domain in which to advertise a service. Defaults to "local." step( $seconds ) Spend at most $seconds seconds handling network events and updating internal state.TODOAt some point I may learn enough of the mDNS protocol to write a pure-perl responder. That'll be nifty.AUTHORRichard Clamp <richardc@unixbeard.net>COPYRIGHTCopyright 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.SEE ALSONet::Rendezous - for service browsing. Net::Rendezvous::Publish::Backend::* - you'll need one of these to talk to your local mDNS responder. perl v5.10.1 2010-06-07 Net::Rendezvous::Publish(3pm)
Related Man Pages |
---|
avahi-publish(1) - opensolaris |
avahi-publish-address(1) - debian |
avahi-publish-service(1) - debian |
avahi-publish(1) - centos |
avahi-publish-address(1) - linux |
Similar Topics in the Unix Linux Community |
---|
BitNami eZ Publish Stack 4.0.3-1 |
To find the publisher of file |
BitNami eZ Publish Stack 4.1.3-1 |
Publish notification via application front end |
Publish notification |