X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd9811b13784a58dd58126bc4b7d5f4c195839b2..bd73ba41f93a040ecf9c18040d7f788992d0a6ec:/include/wx/sckaddr.h?ds=sidebyside diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 74f0c57a35..39e5188792 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -56,13 +56,11 @@ public: bool Service(const wxString& name); bool Service(unsigned short port); bool LocalHost(); + bool AnyAddress(); wxString Hostname(); unsigned short Service(); - void Build(struct sockaddr*& addr, size_t& len); - void Disassemble(struct sockaddr *addr, size_t len); - inline int Type() { return wxSockAddress::IPV4; } }; @@ -88,9 +86,11 @@ public: }; #endif -#ifdef __UNIX__ +#if defined(__UNIX__) && !defined(__WXMAC__) #include -#include +#ifndef __VMS__ +# include +#endif class WXDLLEXPORT wxUNIXaddress : public wxSockAddress { DECLARE_DYNAMIC_CLASS(wxUNIXaddress)