diff options
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs | 3 |
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)
{
|