summaryrefslogtreecommitdiff
path: root/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'Bus')
-rw-r--r--Bus/Ivy/BufferedSocket.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Bus/Ivy/BufferedSocket.h b/Bus/Ivy/BufferedSocket.h
index bd146ec..70e0b5e 100644
--- a/Bus/Ivy/BufferedSocket.h
+++ b/Bus/Ivy/BufferedSocket.h
@@ -26,10 +26,9 @@ protected:
bool connected; /* wait to be connected before sending any Data */
char separator;
/* buffer de reception de l'application */
-#define MAX_BUFFER 2048
- // MAX_BUFFER +1 pour ajouter \0 a la fin
- char buf[MAX_BUFFER+1];
- char *ptr;
+ long buffer_size;
+ char *buffer;
+ char *current_ptr;
// Buffer Emission
CRITICAL_SECTION m_CritSection;
list<string> buf_out;