commit | 1d7fefa0a80219f14a11031807e387d8895afc2c | [log] [tgz] |
---|---|---|
author | Jungho Ahn <jhahn@google.com> | Thu Sep 17 18:55:08 2015 -0700 |
committer | Jungho Ahn <jhahn@google.com> | Thu Sep 17 18:55:08 2015 -0700 |
tree | 057a513fc6f0c5da6e8b756626d4c450f781d67f | |
parent | 36f188b2eb31617f3d65fd772231834f03635bf4 [diff] |
third_party/mdns: support multiple watchers Currently, the mdns package supports only one watcher per service. This CL extends it to support multiple watchers for a same service. Also it provides a stop function to stop watching. Add 'port' to RemoveService() args to uniquely identify the registered services better. Change to clean expired records more frequently (3 sec) so that a watcher can learn goodbye packets quickly. Fix data race in setting TTL Refactor check functions in unit tests so that error shows the failed line better. * Will add README.google after p@ push this to the github repository. MultiPart: 2/2 Change-Id: I0bcb334e0f620d146ca0190e90a4d699c4ca2554
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.