mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:57:35 +00:00

The implementation is extremely basic, and is far from fully conforming to the spec. Among other things, it does not really work in case there are multiple network adapters. Nevertheless, it works quite well for the simple case! You can now do this on your host machine: $ ping courage.local and same on your Serenity box: $ ping host-machine-name.local
18 lines
404 B
CMake
18 lines
404 B
CMake
compile_ipc(LookupServer.ipc LookupServerEndpoint.h)
|
|
compile_ipc(LookupClient.ipc LookupClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
DNSAnswer.cpp
|
|
DNSName.cpp
|
|
DNSPacket.cpp
|
|
DNSServer.cpp
|
|
LookupServer.cpp
|
|
LookupServerEndpoint.h
|
|
LookupClientEndpoint.h
|
|
ClientConnection.cpp
|
|
MulticastDNS.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(LookupServer)
|
|
target_link_libraries(LookupServer LibCore LibIPC)
|