From 21255ee197696f4b7981e94f06d8c4374b0d9655 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 9 Feb 2024 17:19:49 +0100 Subject: [PATCH] Document wxIPV4address::Hostname(unsigned long) overload Just mention that it exists too. --- interface/wx/socket.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/wx/socket.h b/interface/wx/socket.h index 340ea907e1..e45470b5c9 100644 --- a/interface/wx/socket.h +++ b/interface/wx/socket.h @@ -131,13 +131,17 @@ public: bool AnyAddress(); /** - Set the address to hostname, which can be a host name or an IP-style address - in dot notation(a.b.c.d). + Set the address to hostname, which can be a host name, an IP-style address + in dot notation(a.b.c.d) or a 32-bit representation of the + address as the number. @return @true on success, @false if something goes wrong (invalid hostname or invalid IP address). */ + //@{ bool Hostname(const wxString& hostname); + bool Hostname(unsigned long addr); + //@} /** Returns the hostname which matches the IP address.