From 6a181e965c242866e159bd55dd4d434f7a6cb8bb Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:50:23 +0000 Subject: Utilisateur : Fcolin Date : 23/06/06 Heure : 15:30 Archivé dans $/CSharp/Ivy/Ivy Commentaire: modification gestion exception socket (vss 16) --- CSharp/Ivy/Ivy/IvyTCPStreamV3.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs b/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs index 8f41f0c..4eef12c 100644 --- a/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs +++ b/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs @@ -55,8 +55,7 @@ namespace IvyBus private void sendMsg(MessageType msgType, ushort msgId, string msgData) { - try - { + // IOException Should be traited upstairs output.Write((ushort)msgType); output.Write(' '); output.Write(msgId); @@ -64,11 +63,7 @@ namespace IvyBus output.Write(msgData); output.Write(MSG_END); output.Flush(); - } - catch (IOException ex) - { - // Broken pipe - } + } void IvyProtocol.TokenStartRegexp(ushort port, string appName) { -- cgit v1.1