From 5e310bef48ed719d15d88aafb9b92e674cb42b96 Mon Sep 17 00:00:00 2001 From: fcolin Date: Mon, 18 Oct 2010 15:42:04 +0000 Subject: utilisation de socket IPV6 si le domain contient un multicast IPV6 genre FF02::1 --- IvyProbe/IvyProbe.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'IvyProbe/IvyProbe.cs') diff --git a/IvyProbe/IvyProbe.cs b/IvyProbe/IvyProbe.cs index 270dbd8..a066447 100644 --- a/IvyProbe/IvyProbe.cs +++ b/IvyProbe/IvyProbe.cs @@ -152,11 +152,6 @@ namespace IvyProbe bus.ivy.Start(busDomain.Domain); } - private void IvyProbe_FormClosed(object sender, FormClosedEventArgs e) - { - bus.ivy.Stop(); - } - private void IvyProbe_Load(object sender, EventArgs e) { bus.ivy.Start(busDomain.Domain); @@ -168,6 +163,12 @@ namespace IvyProbe receive(sender, e); } + private void IvyProbe_FormClosing(object sender, FormClosingEventArgs e) + { + bus.ivy.Stop(); + e.Cancel = false; + } + } } \ No newline at end of file -- cgit v1.1