Jim Hague
5e415b60b6
Add missing platform.h include.
2017-10-06 15:04:49 +01:00
Jim Hague
a0c313412d
Adjust Unix socket/Winsock handling.
...
Centralise it into util-internal.h, remove duplicate definitions from mdns, and add new pseudo-functions _getdns_closesocket(), _getdns_poll() and _getdns_socketerror(). Convert error values to simple values and convert error checking to use _getdns_socketerror() and the simple values. The simple values can also be used with the result from getsockopt() with SO_ERROR in stub.c.
2017-10-04 17:31:33 +01:00
Willem Toorop
79ce0cff85
Make mdns compile on Linux
2017-03-09 14:36:20 +01:00
Christian Huitema
03307a7b71
Code almost complete for the MDNS multicast + cache.
...
Of course, we still need a lot of testing.
2017-02-23 17:55:31 -08:00
Christian Huitema
6d3e0c7ca2
Rewrote the continuous query organization to use the LRU cache instead of an RB tree.
2017-02-14 11:30:29 -10:00
Christian Huitema
1587e2f8f5
Code to manage the MDNS cache using LRUHASH
2017-02-13 18:28:46 -10:00
Christian Huitema
93d6f2b18f
Intermediate commit, after definition of the MDNS context
2017-02-06 18:23:35 -10:00
Christian Huitema
31eee9c7d1
Intermediate commit of context.h, mdns.[ch]
2017-01-20 19:44:05 -08:00
Christian Huitema
99fb7100ea
Placing all MDNS code under ifdef HAVE MDNS SUPPORT to minimize risk in main branch.
2016-12-22 20:30:14 -08:00
Christian Huitema
1d24c90768
Fixing bad declaration in mdns.h
2016-12-22 20:07:31 -08:00
Christian Huitema
f1b8b25afa
Implementation of basic MDNS support
2016-12-22 15:51:47 -08:00