summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CSharp/Ivy/IvyPPC/IvyUDPStream.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyUDPStream.cs b/CSharp/Ivy/IvyPPC/IvyUDPStream.cs
index feecba0..3654297 100644
--- a/CSharp/Ivy/IvyPPC/IvyUDPStream.cs
+++ b/CSharp/Ivy/IvyPPC/IvyUDPStream.cs
@@ -34,6 +34,7 @@ namespace IvyBus
{
in_stream.Close();
out_stream.Close();
+ socket.Shutdown(SocketShutdown.Both);
socket.Close();
}
internal void receiveMsg(out IPEndPoint remote, out ushort version, out ushort port, out string appId, out string appName)