win tls wip

This commit is contained in:
Benjamin Sergeant
2018-10-09 14:43:25 -07:00
parent 739a43988c
commit f7b87be65b
3 changed files with 9 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ namespace ix
virtual int send(const std::string& buffer);
virtual int recv(void* buffer, size_t length);
virtual void secureSocket(); // Windows
int getErrno() const;
static bool init(); // Required on Windows to initialize WinSocket
static void cleanup(); // Required on Windows to cleanup WinSocket