mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 05:55:00 +00:00

SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
22 lines
346 B
C++
22 lines
346 B
C++
/*
|
|
* 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();
|
|
};
|
|
|
|
}
|