From 04790369fda05fa67a3004a4c7b7d6102f1d936c Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:03:26 +0000 Subject: Utilisateur : Fcolin Date : 1/12/05 Heure : 17:47 Archivé dans $/CSharp/Ivy Commentaire: (vss 11) --- CSharp/Ivy/IvyPPC/IvyWatcher.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/IvyPPC/IvyWatcher.cs b/CSharp/Ivy/IvyPPC/IvyWatcher.cs index d9be71e..fd7f0ff 100644 --- a/CSharp/Ivy/IvyPPC/IvyWatcher.cs +++ b/CSharp/Ivy/IvyPPC/IvyWatcher.cs @@ -31,7 +31,7 @@ namespace IvyBus private int port; private volatile Thread listenThread; private IPAddress group; - private IvyUDPStream stream; + private IvyUDPStreamV4 stream; /// creates an Ivy watcher /// @@ -65,7 +65,7 @@ namespace IvyBus { broadcast.SetSocketOption(SocketOptionLevel.Udp, SocketOptionName.AddMembership, new MulticastOption( group )); } - stream = new IvyUDPStream(broadcast); + stream = new IvyUDPStreamV4(broadcast); } catch (IOException e) { @@ -99,9 +99,9 @@ namespace IvyBus //TODO if ( !isInDomain( remotehost ) ) continue; - if (version != IvyUDPStream.PROCOCOLVERSION) + if (version != IvyUDPStreamV4.PROCOCOLVERSION) { - Console.Error.WriteLine("Ignoring bad protocol version {0} expected {1}", version, IvyUDPStream.PROCOCOLVERSION); + Console.Error.WriteLine("Ignoring bad protocol version {0} expected {1}", version, IvyUDPStreamV4.PROCOCOLVERSION); continue; } -- cgit v1.1