feat: add dns
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user