summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs b/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs
index 229e37d..f5bf292 100644
--- a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs
+++ b/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs
@@ -56,7 +56,7 @@ namespace IvyBus
private void sendMsg(MessageType msgType, ushort msgId, string msgData)
{
#if DEBUG
- Console.WriteLine(" sendMsg {0} id={1} data={2}", msgType, msgId, msgData);
+ Console.Error.WriteLine(" sendMsg {0} id={1} data={2}", msgType, msgId, msgData);
#endif
output.Write((ushort)msgType);
@@ -172,7 +172,7 @@ namespace IvyBus
msgId = DeserializeShort();
msgData = DeserializeString(MSG_END);
#if DEBUG
- Console.WriteLine(" receiveMsg {0} id={1} data={2}", msgType, msgId, msgData);
+ Console.Error.WriteLine(" receiveMsg {0} id={1} data={2}", msgType, msgId, msgData);
#endif
switch (msgType)
{
@@ -230,11 +230,11 @@ namespace IvyBus
}
- catch (EndOfStreamException nfe)
+ catch (EndOfStreamException)
{
return false;
}
- catch (FormatException nfe)
+ catch (FormatException)
{
throw new IvyException("protocol error on msgType");
}