summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:54:06 +0000
committerfcolin2007-02-01 12:54:06 +0000
commit6e23b026fe019cc07db78af7d81fa5630cfc2f40 (patch)
treea804212a402e5b634477af262282638745da33ec /Bus/Ivy
parent2c4efded5f4895b5a62b7a42ffbbb9020d5c10e1 (diff)
downloadivy-cplusplus-6e23b026fe019cc07db78af7d81fa5630cfc2f40.zip
ivy-cplusplus-6e23b026fe019cc07db78af7d81fa5630cfc2f40.tar.gz
ivy-cplusplus-6e23b026fe019cc07db78af7d81fa5630cfc2f40.tar.bz2
ivy-cplusplus-6e23b026fe019cc07db78af7d81fa5630cfc2f40.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 18:23 Archivé dans $/Bus/Ivy Commentaire: (vss 5)
Diffstat (limited to 'Bus/Ivy')
-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;