MDNSService.h 414 B

123456789101112131415161718
  1. #ifndef BELLL_MDNS_SERVICE_H
  2. #define BELLL_MDNS_SERVICE_H
  3. #include <string>
  4. #include <map>
  5. class MDNSService {
  6. public:
  7. static void registerService(
  8. const std::string &serviceName,
  9. const std::string &serviceType,
  10. const std::string &serviceProto,
  11. const std::string &serviceHost,
  12. int servicePort,
  13. const std::map<std::string, std::string> txtData
  14. );
  15. };
  16. #endif