redo UDP handling

This commit is contained in:
Michael Davidsaver
2019-10-27 16:19:59 -07:00
parent 3a1123e3b9
commit c886205110
7 changed files with 350 additions and 352 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ void Server::Pvt::start()
for(auto& iface : interfaces) {
auto addr = iface.bind_addr;
addr.setPort(effective.default_udp);
iface.searchrx = manager.subscribe(addr, [](const UDPMsg& msg) {
iface.searchrx = manager.onSearch(addr, [](const UDPManager::Search& msg) {
// TODO handle search
});
}