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
89f0a8c5
Commit
89f0a8c5
authored
Jul 25, 2016
by
Evelyn
Committed by
GitHub
Jul 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_set_protocol_dns.md
parent
f72a06e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mg_set_protocol_dns.md
docs/c-api/dns.h/mg_set_protocol_dns.md
+4
-4
No files found.
docs/c-api/dns.h/mg_set_protocol_dns.md
View file @
89f0a8c5
...
@@ -6,11 +6,11 @@ signature: |
...
@@ -6,11 +6,11 @@ signature: |
void mg_set_protocol_dns(struct mg_connection *nc);
void mg_set_protocol_dns(struct mg_connection *nc);
---
---
Attach built-in DNS event handler to the given listening connection.
Attach
es a
built-in DNS event handler to the given listening connection.
DNS event handler parses
incoming UDP packets, treating them as DNS
The DNS event handler parses the
incoming UDP packets, treating them as DNS
requests. If incoming packet gets successfully parsed by the DNS event
requests. If
an
incoming packet gets successfully parsed by the DNS event
handler, a user event handler will receive
`MG_DNS_REQUEST`
event, with
handler, a user event handler will receive
an
`MG_DNS_REQUEST`
event, with
`ev_data`
pointing to the parsed
`struct mg_dns_message`
.
`ev_data`
pointing to the parsed
`struct mg_dns_message`
.
See
See
...
...
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