mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
Update mg_dns_send_reply.md
This commit is contained in:
1 parent
770be613d7
commit
77704b669a
1 file changed
+2
-2
@@ -6,11 +6,11 @@ signature: |
|
|||||||
void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
|
void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
|
||||||
---
|
---
|
||||||
|
|
||||||
Send a DNS reply through a connection.
|
Sends a DNS reply through a connection.
|
||||||
|
|
||||||
The DNS data is stored in an IO buffer pointed by reply structure in `r`.
|
The DNS data is stored in an IO buffer pointed by reply structure in `r`.
|
||||||
This function mutates the content of that buffer in order to ensure that
|
This function mutates the content of that buffer in order to ensure that
|
||||||
the DNS header reflects size and flags of the mssage, that might have been
|
the DNS header reflects the size and flags of the message, that might have been
|
||||||
updated either with `mg_dns_reply_record` or by direct manipulation of
|
updated either with `mg_dns_reply_record` or by direct manipulation of
|
||||||
`r->message`.
|
`r->message`.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user