Add optional parameter for binding service to specific interface

This commit is contained in:
Brian Kendall
2022-10-28 13:12:56 -04:00
parent 29be12c558
commit 16b50c700f
3 changed files with 12 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ public:
};
QZeroConf(QObject *parent = Q_NULLPTR);
~QZeroConf();
void startServicePublish(const char *name, const char *type, const char *domain, quint16 port);
void startServicePublish(const char *name, const char *type, const char *domain, quint16 port, quint32 interface = 0);
void stopServicePublish(void);
bool publishExists(void);
inline void startBrowser(QString type)