We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041ec6e commit 539d080Copy full SHA for 539d080
tutorials/udp/mdns-server/main.c
@@ -12,6 +12,7 @@ int main(void) {
12
13
// Desired name must NOT have any dots in it, nor a domain
14
c = mg_mdns_listen(&mgr, "Mongoose"); // Start mDNS server
15
+ if (c == NULL) return 1;
16
// if not using our built-in TCP/IP stack, pass the IP address you want to
17
// use as a response, this depends on your underlying TCP/IP stack and number
18
// of interfaces available
0 commit comments