mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
LookupServer: Move DNS related code into new LibDNS library
This allows other code to use the DNSPacket class, e.g. when sent over IPC.
This commit is contained in:
parent
0a92dbd390
commit
be4a4144f2
17 changed files with 51 additions and 40 deletions
|
@ -5,12 +5,14 @@
|
|||
*/
|
||||
|
||||
#include "ConnectionFromClient.h"
|
||||
#include "DNSPacket.h"
|
||||
#include "LookupServer.h"
|
||||
#include <AK/IPv4Address.h>
|
||||
#include <LibDNS/DNSPacket.h>
|
||||
|
||||
namespace LookupServer {
|
||||
|
||||
using namespace DNS;
|
||||
|
||||
static HashMap<int, RefPtr<ConnectionFromClient>> s_connections;
|
||||
|
||||
ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket, int client_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue