39 #ifndef BLOCXX_SocketADDRESS_HPP_INCLUDE_GUARD_ 40 #define BLOCXX_SocketADDRESS_HPP_INCLUDE_GUARD_ 41 #include "blocxx/BLOCXX_config.h" 102 UInt16 getPort()
const;
109 const String getName()
const;
115 const String getAddress()
const;
117 size_t getNativeFormSize()
const;
125 #if !defined(BLOCXX_WIN32) 144 const String toString()
const;
151 #if !defined(BLOCXX_WIN32) 161 #if !defined(BLOCXX_WIN32) 167 UInt16 nativePort,
const String& hostname );
171 #if !defined(BLOCXX_WIN32) 177 const char *inet_ntop(
int af,
const void *src,
char *dst,
socklen_t cnt);
sockaddr_un UnixSocketAddress_t
UnixSocketAddress_t m_UDSNativeAddress
This String class is an abstract data type that represents as NULL terminated string of characters.
InetSocketAddress_t m_inetNativeAddress
static const char *const ALL_LOCAL_ADDRESSES
sockaddr_in InetSocketAddress_t
#define BLOCXX_DECLARE_APIEXCEPTION(NAME, LINKAGE_SPEC)
Declare a new exception class named <NAME>Exception that derives from Exception This macro is typical...
AddressType getType() const