39 #ifndef BLOCXX_SocketADDRESS_HPP_INCLUDE_GUARD_
40 #define BLOCXX_SocketADDRESS_HPP_INCLUDE_GUARD_
41 #include "blocxx/BLOCXX_config.h"
48 namespace BLOCXX_NAMESPACE
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);