24 lines
549 B
C++
24 lines
549 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: NetHostname.hpp
|
||
|
Date: 2022-8-15
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::Net
|
||
|
{
|
||
|
struct AUKN_SYM NetHostname
|
||
|
{
|
||
|
NetHostname(const AuString &hostname);
|
||
|
NetHostname(const IPAddress &ipAddress);
|
||
|
|
||
|
const EHostnameType type;
|
||
|
const AuString hostname;
|
||
|
const IPAddress address;
|
||
|
|
||
|
bool operator ==(const NetHostname &other) const;
|
||
|
const AuUInt HashCode() const;
|
||
|
};
|
||
|
}
|