24#ifndef WPINET_TCPCONNECTOR_H_
25#define WPINET_TCPCONNECTOR_H_
39 static std::unique_ptr<NetworkStream>
connect(
const char* server,
int port,
43 std::span<
const std::pair<const char*, int>> servers,
Logger& logger,
Definition: TCPConnector.h:37
static std::unique_ptr< NetworkStream > connect_parallel(std::span< const std::pair< const char *, int > > servers, Logger &logger, int timeout=0)
static std::unique_ptr< NetworkStream > connect(const char *server, int port, Logger &logger, int timeout=0)
Definition: ntcore_cpp.h:26