split handshake code into its own files, so that Transport file is less massive

This commit is contained in:
Benjamin Sergeant
2019-01-02 20:07:54 -08:00
parent 097c7e5397
commit 64f649d1f9
12 changed files with 567 additions and 451 deletions

View File

@ -24,10 +24,9 @@ namespace ix
static void configure(int sockfd);
private:
static bool connectToAddress(const struct addrinfo *address,
int& sockfd,
std::string& errMsg,
const CancellationRequest& isCancellationRequested);
static int connectToAddress(const struct addrinfo *address,
std::string& errMsg,
const CancellationRequest& isCancellationRequested);
};
}