X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65ccd2b82604a60a387b4562e6886c7b5471ca03..22e0ea84c89c61cceb3deb2b62145afa047a0dff:/include/wx/sckaddr.h diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 7a7612731d..17a9477905 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,8 +86,11 @@ public: }; #endif -#ifdef __UNIX__ -#include +#if defined(__UNIX__) && !defined(__APPLE__) +#include +#ifndef __VMS__ +# include +#endif class WXDLLEXPORT wxUNIXaddress : public wxSockAddress { DECLARE_DYNAMIC_CLASS(wxUNIXaddress)