Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
97903664
Commit
97903664
authored
8 years ago
by
Evelyn
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_dns_create_reply.md
parent
89f0a8c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mg_dns_create_reply.md
docs/c-api/dns-server.h/mg_dns_create_reply.md
+4
-4
No files found.
docs/c-api/dns-server.h/mg_dns_create_reply.md
View file @
97903664
...
...
@@ -7,18 +7,18 @@ signature: |
struct mg_dns_message *msg);
---
Create a DNS reply.
Create
s
a DNS reply.
The reply will be based on an existing query message
`msg`
.
The query body will be appended to the output buffer.
"reply + recursion allowed" will be added to the message flags and
"reply + recursion allowed" will be added to the message flags and
the
message's num_answers will be set to 0.
Answer records can be appended with
`mg_dns_send_reply`
or by lower
level function defined in the DNS API.
In order to send
the
reply use
`mg_dns_send_reply`
.
It's possible to use a connection's send buffer as reply buffer
s
,
In order to send
a
reply use
`mg_dns_send_reply`
.
It's possible to use a connection's send buffer as reply buffer,
and it will work for both UDP and TCP connections.
Example:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment