Merge pull request #3805 from sigiesec/curve-zerocopy

CURVE: Reduce number of memory allocations and message copies
This commit is contained in:
Luca Boccassi
2020-02-04 08:58:31 +01:00
committed by GitHub
11 changed files with 424 additions and 113 deletions

View File

@@ -61,6 +61,10 @@
// duplicated from fd.hpp
#ifdef ZMQ_HAVE_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX // Macros min(a,b) and max(a,b)
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdexcept>