From fbb6c31c7efbab72f48d2691bd20acaa866f9472 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:51:07 +0000 Subject: Utilisateur : Fcolin Date : 17/10/06 Heure : 18:36 Archivé dans $/CSharp/Ivy/Ivy Commentaire: modification debug et correction bug stream UDP pas reseté (vss 8) --- CSharp/Ivy/Ivy/IvyUDPStreamV3.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs b/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs index a845d3a..63a8679 100644 --- a/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs +++ b/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs @@ -68,7 +68,7 @@ namespace IvyBus version = 0; port = 0; appId = ""; - appName = ""; + appName = ""; try { version = DeserializeShort(); port = DeserializeShort(); @@ -80,6 +80,7 @@ namespace IvyBus { // Bad protocol message receive or without appId and appName } + input.DiscardBufferedData(); } private void Serialize(ushort arg, char sep) { -- cgit v1.1