Handlers return multiple responses, dispatch polls sockets for UDP commands
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user