summaryrefslogtreecommitdiffstats
path: root/WebServer/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WebServer/Socket.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/WebServer/Socket.h b/WebServer/Socket.h
index c26822e34..339dae188 100644
--- a/WebServer/Socket.h
+++ b/WebServer/Socket.h
@@ -31,11 +31,13 @@
#ifndef SOCKET_H
#define SOCKET_H
-
+
#include "../source/MCSocket.h"
// #ifdef _WIN32
-// #include <winsock2.h>
-// #endif
+// #include <winsock2.h>
+
+// #endif
+
#include <string>
@@ -49,9 +51,9 @@ public:
Socket& operator=(Socket&);
std::string ReceiveLine();
- std::string ReceiveBytes();
+ std::string ReceiveBytes( unsigned int a_Length );
- void Close();
+ void Close( bool a_WaitSend = false );
// The parameter of SendLine is not a const reference
// because SendLine modifes the std::string passed.