12#ifndef ROOT_TInetAddress
13#define ROOT_TInetAddress
32namespace std {
using ::vector; }
#define ClassDefOverride(name, id)
friend class TWinNTSystem
TInetAddress & operator=(const TInetAddress &rhs)
TInetAddress assignment operator.
friend class TServerSocket
std::vector< UInt_t > AddressList_t
const char * GetHostName() const
void AddAlias(const char *alias)
Add alias to list of aliases.
std::vector< TString > AliasList_t
UChar_t * GetAddressBytes() const
Returns the raw IP address in host byte order.
void AddAddress(UInt_t addr)
Add alternative address to list of addresses.
void Print(Option_t *option="") const override
Print internet address as string.
TInetAddress(const char *host, UInt_t addr, Int_t family, Int_t port=-1)
Create TInetAddress.
const char * GetHostAddress() const
Returns the IP address string "%d.%d.%d.%d".
const AliasList_t & GetAliases() const
const AddressList_t & GetAddresses() const
TInetAddress()
Default ctor. Used in case of unknown host. Not a valid address.
UInt_t GetAddress() const
TObject()
TObject constructor.