blob: 1a4c940263dedb08a02ab193754092b4fb463a48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2021, Sergey Bugaev <bugaevc@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCore/UDPServer.h>
namespace LookupServer {
class DNSServer : public Core::UDPServer {
C_OBJECT(DNSServer)
private:
explicit DNSServer(Object* parent = nullptr);
void handle_client();
};
}
|