Commit Graph

20 Commits

Author SHA1 Message Date
Jonathan Bagg
d203025409 AvahiCore - house keeping 2022-10-02 21:34:16 -04:00
Jonathan Bagg
38d236dee1 Fix Android api 30 issue
Google disabled bind() to a netlink socket in api 30.  This change disables
the netlink socket used in avahi-core on Android which means there is no
async network interface info.  When the apps starts, a list of interfaces
is gotten with getifaddrs() and avahi uses this list to monitor.  Avahi
does not monitor while the app sleeps and deletes the monitor.
2022-10-02 21:34:16 -04:00
David Kahles (KDV)
58e8f6ee1c AvahiCode + Bonjour: use correct datatype for pos
ssize_t is not available on windows (at least not with msvc2019). Use
int as QByteArray::indexOf is defined with int return type.
2022-04-08 21:16:16 -04:00
Jonathan Bagg
c48fc95cf1 AvahiCore + Bonjour - pos should be signed. 2022-02-17 20:45:29 -05:00
Florian Meinicke
01f35f27a3 Fix parsing of TXT records if value contains '='
TXT record values can also contain equals signs. The current
implementation would consider any record where the value contains an
equals sign as an empty record.
2022-02-17 20:36:59 -05:00
Jonathan Bagg
c286fcd2c0 Change browser protocol options so it can only be IPv4 or IPv6, not both. 2019-03-05 21:26:41 -05:00
Jonathan Bagg
e92ba9936c switch from QExplicitlySharedDataPointer to QSharedPointer 2019-03-05 21:19:32 -05:00
Jonathan Bagg
31119114ce AvahiCore - add reference count for AvahiServer instance 2018-05-31 21:35:21 -04:00
Michael Zanetti
407e84dbfc only create one avahi server instance
On platforms which create their own avahi server (e.g. Android)
the previous code would assert as there can only be one server
instantiated but creating multiple QtZeroConf objects tried
to create multiple servers.
2018-06-01 01:51:03 +02:00
Matthias Kollmann
0c7f30b093 registered metatype for queued connections, qml integration;
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2017-11-02 20:28:56 -04:00
Jonathan Bagg
802572f50f Avahicore - switch to SharedData 2017-11-01 20:26:37 -04:00
Matthias Kollmann
d32cd85183 Merge remote-tracking branch 'upstream/master' 2017-10-16 17:32:39 +02:00
Matthias Kollmann
e9ecf39c36 added parent to QZeroconf constructor 2017-10-16 17:12:09 +02:00
Jonathan Bagg
8a9936a4a5 Add publishExists() and browserExists() api calls. 2017-10-09 21:25:58 -04:00
Jonathan Bagg
2622544691 Emit removeService() for all discovered services when browser is stopped. 2017-10-09 21:23:00 -04:00
Jonathan Bagg
639050b600 Avahi backends - keep resolvers around to get updates 2017-08-08 21:56:15 -04:00
Jonathan Bagg
195e740ceb Add txt records to discovered services 2017-03-15 20:32:28 -04:00
Jonathan Bagg
e4e4308942 Add txt records to service publication. 2017-03-10 20:08:54 -05:00
Jonathan Bagg
b04c27e47e Fix compiling with msvc. "interface" is a keyword. 2017-02-26 17:43:37 -05:00
Jonathan Bagg
813bf77058 Initial commit 2015-11-21 07:22:36 -05:00