mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +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
|
@ -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