table of contents
other versions
- jessie 1.4-1
shevek::avahi(3) | Library Functions Manual | shevek::avahi(3) |
NAME¶
shevek::avahi - Serve and browse the local network using avahi.SYNOPSIS¶
#include <avahi.hh> Inherits shevek::refbase.Classes¶
class browser
Public Member Functions¶
void publish (Glib::ustring const &protocol, int port)
Static Public Member Functions¶
static Glib::RefPtr< avahi > create (Glib::ustring const &name=Glib::ustring())
Additional Inherited Members¶
Detailed Description¶
Serve and browse the local network using avahi. Easy to use interface for serving and browsing avahi-supporting hosts. Note that it is not as configurable as using libavahi directly.Member Function Documentation¶
Glib::RefPtr< avahi::browser > shevek::avahi::create_browser (Glib::ustring const &protocol) [inline]¶
Create a browser and populate it with a list of available hosts for the requested protocol. The browser must not contain a leading underscore, and must not contain the protocol specification. The actual requested port is _NAME._tcp. It is not possible to browse udp with this class.void shevek::avahi::publish (Glib::ustring const &protocol, intport)¶
Publish a service on a port. The protocol is the name of the protocol, without leading underscore and without protocol specification. The published port is _NAME._tcp. It is not possible to publish over udp with this class. Note that you must separately set up a server to listen on the port.Author¶
Generated automatically by Doxygen for libshevek from the source code.Wed Jul 9 2014 | libshevek |