feat: add dns

This commit is contained in:
2021-09-24 20:44:05 +02:00
parent af413dc781
commit 1a8cd54197
3 changed files with 18 additions and 10 deletions

View File

@@ -8,6 +8,8 @@
#include "render/Renderer.h"
#include "network/Network.h"
namespace td {
namespace client {
@@ -31,7 +33,7 @@ public:
void render();
void connect(const std::string& address, std::uint16_t port);
void connect(const network::IPAddresses& addresses, std::uint16_t port);
void closeConnection();
bool isConnected() const { return m_Connexion.getSocketStatus() == network::Socket::Connected; }