Jean-Baptiste Boric
8e6241b78b
LookupServer: Fix missing POSIX includes
2021-05-23 18:10:29 +02:00
Gunnar Beutner
53d0150827
AK+Userland: Remove nullability feature for the ByteBuffer type
...
Nobody seems to use this particular feature, in fact there were some
bugs which were uncovered by removing operator bool.
2021-05-16 17:49:42 +02:00
Ali Mohammad Pur
a91a49337c
LibCore+Everywhere: Move OpenMode out of IODevice
...
...and make it an enum class so people don't omit "OpenMode".
2021-05-12 11:00:45 +01:00
Gunnar Beutner
3304d675e1
LookupServer: Correct some flags for DNS packets
...
This corrects some of the flags in the DNS packets to match
what I saw on my local network.
2021-05-10 17:26:17 +02:00
Gunnar Beutner
7b3bed7910
LookupServer: Turn #defines into enum classes and add formatter
2021-05-10 17:26:17 +02:00
Gunnar Beutner
6e70888315
LookupServer: Split mDNS flags into separate field
2021-05-10 17:26:17 +02:00
Andreas Kling
6024617df3
LookupServer: Remove some unnecessary "rc" temporaries
2021-05-06 13:37:46 +02:00
Sergey Bugaev
bb06e720de
LookupServer: Implement basic mDNS support :^)
...
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
2021-05-05 21:16:17 +02:00