Handlers return multiple responses, dispatch polls sockets for UDP commands

This commit is contained in:
Ian Gulliver
2026-04-06 20:22:40 +09:00
parent f837937cb7
commit b8c0e6be66
5 changed files with 55 additions and 23 deletions

View File

@@ -33,5 +33,6 @@ int main() {
w6300::open_socket(sn, w6300::protocol::udp6, w6300::port_num{PICOMAP_DISCOVERY_PORT},
w6300::sock_flag::multi_enable);
dispatch_run(handlers);
w6300::socket_id sockets[] = {sn};
dispatch_run(handlers, sockets);
}