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)
177const char *inet_ntop(
int af,
const void *src,
char *dst,
socklen_t cnt);
#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
InetSocketAddress_t m_inetNativeAddress
static const char *const ALL_LOCAL_ADDRESSES
UnixSocketAddress_t m_UDSNativeAddress
This String class is an abstract data type that represents as NULL terminated string of characters.
sockaddr_in InetSocketAddress_t
sockaddr_un UnixSocketAddress_t