non blocking dns lookup

This commit is contained in:
Benjamin Sergeant
2018-12-14 16:28:11 -08:00
parent 8c079787f0
commit cbadecab33
17 changed files with 323 additions and 52 deletions

View File

@ -7,7 +7,7 @@
#pragma once
#include "IXSocket.h"
#include "IXSocketConnect.h"
#include "IXCancellationRequest.h"
#include <openssl/bio.h>
#include <openssl/hmac.h>
@ -28,7 +28,7 @@ namespace ix
virtual bool connect(const std::string& host,
int port,
std::string& errMsg,
CancellationRequest isCancellationRequested) final;
const CancellationRequest& isCancellationRequested) final;
virtual void close() final;
virtual int send(char* buffer, size_t length) final;