LibCore+LookupServer: Implement and use UDPServer::send

This commit is contained in:
sin-ack 2021-09-11 20:11:30 +00:00 committed by Ali Mohammad Pur
commit 0cca6cef95
Notes: sideshowbarker 2024-07-17 22:43:01 +09:00
5 changed files with 25 additions and 6 deletions

View file

@ -30,6 +30,8 @@ public:
return receive(size, saddr);
};
ErrorOr<size_t> send(ReadonlyBytes, sockaddr_in const& to);
Optional<IPv4Address> local_address() const;
Optional<u16> local_port() const;