diff options
Diffstat (limited to 'Libraries/LibCore/CTCPServer.h')
-rw-r--r-- | Libraries/LibCore/CTCPServer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibCore/CTCPServer.h b/Libraries/LibCore/CTCPServer.h index dcf6c54363..0539b3734f 100644 --- a/Libraries/LibCore/CTCPServer.h +++ b/Libraries/LibCore/CTCPServer.h @@ -16,8 +16,8 @@ public: RefPtr<CTCPSocket> accept(); - IPv4Address local_address() const; - u16 local_port() const; + Optional<IPv4Address> local_address() const; + Optional<u16> local_port() const; Function<void()> on_ready_to_accept; |