mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
LibCore+LookupServer: Implement and use UDPServer::send
This commit is contained in:
parent
3da0c072f4
commit
0cca6cef95
Notes:
sideshowbarker
2024-07-17 22:43:01 +09:00
Author: https://github.com/sin-ack
Commit: 0cca6cef95
Pull-request: https://github.com/SerenityOS/serenity/pull/9977
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
5 changed files with 25 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue