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; }
};
};
#endif
-#ifdef __UNIX__
+#if defined(__UNIX__) && !defined(__APPLE__)
#include <sys/socket.h>
-#include <sys/un.h>
+#ifndef __VMS__
+# include <sys/un.h>
+#endif
class WXDLLEXPORT wxUNIXaddress : public wxSockAddress {
DECLARE_DYNAMIC_CLASS(wxUNIXaddress)