From 6e23b026fe019cc07db78af7d81fa5630cfc2f40 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:54:06 +0000 Subject: Utilisateur : Fcolin Date : 1/06/05 Heure : 18:23 Archivé dans $/Bus/Ivy Commentaire: (vss 5) --- Bus/Ivy/BufferedSocket.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Bus') 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 buf_out; -- cgit v1.1