X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..d2fdd8d2af20f032b26562fc5eb0af2c85d5c8b6:/src/common/sckaddr.cpp?ds=sidebyside diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 75a6079af4..8131c0427a 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -131,6 +131,11 @@ bool wxIPV4address::LocalHost() return (GAddress_INET_SetHostName(m_address, "localhost") == GSOCK_NOERROR); } +bool wxIPV4address::AnyAddress() +{ + return (GAddress_INET_SetAnyAddress(m_address) == GSOCK_NOERROR); +} + wxString wxIPV4address::Hostname() { char hostname[1024];