mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
LibCore+LookupServer: Implement and use UDPServer::send
This commit is contained in:
parent
3da0c072f4
commit
0cca6cef95
5 changed files with 25 additions and 6 deletions
|
@ -24,7 +24,7 @@ private:
|
|||
explicit MulticastDNS(Object* parent = nullptr);
|
||||
|
||||
void announce();
|
||||
ssize_t emit_packet(const DNSPacket&, const sockaddr_in* destination = nullptr);
|
||||
ErrorOr<size_t> emit_packet(const DNSPacket&, const sockaddr_in* destination = nullptr);
|
||||
|
||||
void handle_packet();
|
||||
void handle_query(const DNSPacket&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue