mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-08 03:50:22 -06:00
13 lines
263 B
C++
13 lines
263 B
C++
#pragma once
|
|
|
|
#include "Common.hpp"
|
|
#include "Time.hpp"
|
|
|
|
// For errors that we probably shouldn't retry, an exception is thrown. Otherwise
|
|
// -1 fd and error string.
|
|
int connectToHost(
|
|
const std::string& host,
|
|
uint16_t port,
|
|
std::string& errString
|
|
);
|