+ /**
+ * Construct a network service.
+ * \param address The address of the host.
+ * \param text The service information.
+ */
+ Service(const SocketAddress& address, const std::string& text);
+
+
+ /**
+ * Get the host address.
+ * \return The address.
+ */
+ const SocketAddress& address() const;
+
+ /**
+ * Get the service information.
+ * \return The service information as a string.
+ */
+ const std::string& text() const;
+
+
+ /**
+ * Publish the service on the network.
+ */
+ void publish();