Network/TcpClient: Add Connect overload resolving hostname

Former-commit-id: 5c667a14c591e4e9cb898a8d4c83fedf161179fd
This commit is contained in:
Lynix
2015-11-10 14:45:59 +01:00
parent 3b9c736c16
commit a26c979d84
4 changed files with 33 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ namespace Nz
~TcpClient() = default;
SocketState Connect(const IpAddress& remoteAddress);
SocketState Connect(const String& hostName, NetProtocol protocol = NetProtocol_Any, const String& service = "http", ResolveError* error = nullptr);
inline void Disconnect();
void EnableLowDelay(bool lowDelay);