mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
LibCore: Add local_{address,port} functions to CTCPServer
This commit is contained in:
parent
b61414fb96
commit
fbe8569412
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