From 32196ffc444b5e587a28f19a1a86b08fe699bf72 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:02:56 +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/IvyPPC/IvyUDPStreamV3.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CSharp/Ivy/IvyPPC') diff --git a/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs b/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs index a845d3a..63a8679 100644 --- a/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs +++ b/CSharp/Ivy/IvyPPC/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