summaryrefslogtreecommitdiff
path: root/winpipes.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-06 02:34:03 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-06 02:34:03 +0000
commitaec493328f4cd1a6d717743c984a153dc120013a (patch)
tree22ac172cd2a9920b7d33711a25947c5c98e8cef2 /winpipes.h
parente3e0c6c7d2d37b902060ffefc27270675fbf246b (diff)
downloadcryptopp-aec493328f4cd1a6d717743c984a153dc120013a.tar.gz
sync with private branch
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@76 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'winpipes.h')
-rw-r--r--winpipes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winpipes.h b/winpipes.h
index 3260e19..29a3717 100644
--- a/winpipes.h
+++ b/winpipes.h
@@ -7,7 +7,7 @@
#include "network.h"
#include "queue.h"
-#include <windows.h>
+#include <winsock2.h>
NAMESPACE_BEGIN(CryptoPP)
@@ -64,7 +64,7 @@ public:
WindowsPipeReceiver();
bool MustWaitForResult() {return true;}
- void Receive(byte* buf, unsigned int bufLen);
+ bool Receive(byte* buf, unsigned int bufLen);
unsigned int GetReceiveResult();
bool EofReceived() const {return m_eofReceived;}