1
Fork 0
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:
Conrad Pankoff 2019-10-07 19:07:24 +11:00 committed by Andreas Kling
parent b61414fb96
commit fbe8569412
2 changed files with 29 additions and 0 deletions

View file

@ -16,6 +16,9 @@ public:
RefPtr<CTCPSocket> accept();
IPv4Address local_address();
u16 local_port();
Function<void()> on_ready_to_accept;
private: