PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
This commit is contained in:
Бобби authored and Cesanta Bot committed 2017-10-16 15:18:24 +00:00
1 parent f0c6630a16
commit 6e3e5560d0
33 files changed
+98 -193

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
---
title: DNS client example
---
See https://github.com/cesanta/mongoose/blob/master/mongoose.c and search
for the `mg_resolve_async_eh()` function - that is the core of
built-in Mongoose async DNS resolver.
@@ -1,6 +1,7 @@
---
title: DNS server example
---
# Examples
## DNS server example
To create a DNS server, follow this pattern:
@@ -71,3 +72,10 @@ int main(int argc, char *argv[]) {
```
See full [Captive DNS server example](https://github.com/cesanta/mongoose/tree/master/examples/captive_dns_server).
## DNS client example
See https://github.com/cesanta/mongoose/blob/master/mongoose.c and search
for the `mg_resolve_async_eh()` function - that is the core of
built-in Mongoose async DNS resolver.
-8
View File
@@ -1,8 +0,0 @@
---
title: DNS
items:
- { name: server_example.md }
- { name: client_example.md }
- { name: ../c-api/dns.h/ }
- { name: ../c-api/dns_server.h/ }
---