mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
![]() Now that we no longer depend on the textual IPC format, we can pass IP addresses in the format most code actually has and needs it: in binary. The only places we actually have to deal with textual address representation is: * When reading /etc/hosts, we have to parse textual addresses & convert them to binary; * When doing reverse lookups, we have to form a pseudo-hostname of the form x.x.x.x.in-addr.arpa. So we do the conversion in those two cases. This also increases uniformity between how we handle A (IPv4 address) and other resource record types. Namely, we now store the raw binary data as received from a DNS server. |
||
---|---|---|
.. | ||
ClientConnection.cpp | ||
ClientConnection.h | ||
CMakeLists.txt | ||
DNSAnswer.cpp | ||
DNSAnswer.h | ||
DNSPacket.h | ||
DNSQuestion.h | ||
DNSRequest.cpp | ||
DNSRequest.h | ||
DNSResponse.cpp | ||
DNSResponse.h | ||
LookupClient.ipc | ||
LookupServer.cpp | ||
LookupServer.h | ||
LookupServer.ipc | ||
main.cpp |