mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Move mongoose docs to https://cesanta.com/docs/
PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
This commit is contained in:
1 parent
f0c6630a16
commit
6e3e5560d0
33 files changed
+98
-193
No files matched your search
@@ -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.
|
||||
@@ -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/ }
|
||||
---
|
||||
Reference in new issue
Block a user