diff options
Diffstat (limited to 'NorthstarDedicatedTest/NetAdr2.h')
-rw-r--r-- | NorthstarDedicatedTest/NetAdr2.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/NorthstarDedicatedTest/NetAdr2.h b/NorthstarDedicatedTest/NetAdr2.h index 808d623d..09e3c9af 100644 --- a/NorthstarDedicatedTest/NetAdr2.h +++ b/NorthstarDedicatedTest/NetAdr2.h @@ -2,8 +2,8 @@ constexpr int MAX_NETCONSOLE_INPUT_LEN = 4096; constexpr int MSG_NOSIGNAL = 0; -//typedef struct netpacket_s netpacket_t; -//typedef struct __declspec(align(8)) netpacket_s +// typedef struct netpacket_s netpacket_t; +// typedef struct __declspec(align(8)) netpacket_s //{ // DWORD family_maybe; // sockaddr_in sin; @@ -43,8 +43,8 @@ enum class netadrversion_t class CNetAdr2 { -public: - CNetAdr2(void) {}; + public: + CNetAdr2(void){}; CNetAdr2(std::string svInAdr); CNetAdr2(std::string svInAdr, std::string svInPort); ~CNetAdr2(void); @@ -86,9 +86,9 @@ public: void Clear(void); -private: - std::string m_svip; - netadrtype_t m_type{}; - netadrversion_t m_version{}; + private: + std::string m_svip; + netadrtype_t m_type{}; + netadrversion_t m_version{}; sockaddr_storage* m_sadr{}; }; |