summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:02:56 +0000
committerfcolin2007-02-01 10:02:56 +0000
commit32196ffc444b5e587a28f19a1a86b08fe699bf72 (patch)
treeb2c6b489f22d3a8a6e546afe739b016d0a91c862
parenta8c80912444d6724ba22186bb7aa90c0894a42f7 (diff)
downloadivy-csharp-32196ffc444b5e587a28f19a1a86b08fe699bf72.zip
ivy-csharp-32196ffc444b5e587a28f19a1a86b08fe699bf72.tar.gz
ivy-csharp-32196ffc444b5e587a28f19a1a86b08fe699bf72.tar.bz2
ivy-csharp-32196ffc444b5e587a28f19a1a86b08fe699bf72.tar.xz
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)
-rw-r--r--CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs3
1 files changed, 2 insertions, 1 deletions
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)
{