mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibCore: Add local_{address,port} functions to CTCPServer
This commit is contained in:
parent
b61414fb96
commit
fbe8569412
Notes:
sideshowbarker
2024-07-19 11:24:00 +09:00
Author: https://github.com/deoxxa
Commit: fbe8569412
Pull-request: https://github.com/SerenityOS/serenity/pull/529
2 changed files with 29 additions and 0 deletions
|
@ -16,6 +16,9 @@ public:
|
|||
|
||||
RefPtr<CTCPSocket> accept();
|
||||
|
||||
IPv4Address local_address();
|
||||
u16 local_port();
|
||||
|
||||
Function<void()> on_ready_to_accept;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue