summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:51:37 +0000
committerfcolin2007-02-01 09:51:37 +0000
commitce39804ed825dba24646e36f007b0be78664de9b (patch)
tree5268ccf8318418404bdf0e0319ca528952b7348c
parent03d0e88d2aceb90df89f2a8ab03e8164f9d42f4d (diff)
downloadivy-csharp-ce39804ed825dba24646e36f007b0be78664de9b.zip
ivy-csharp-ce39804ed825dba24646e36f007b0be78664de9b.tar.gz
ivy-csharp-ce39804ed825dba24646e36f007b0be78664de9b.tar.bz2
ivy-csharp-ce39804ed825dba24646e36f007b0be78664de9b.tar.xz
Utilisateur : Fcolin Date : 1/12/05 Heure : 17:47 Archivé dans $/CSharp/Ivy Commentaire: (vss 11)
-rw-r--r--CSharp/Ivy/Ivy/IvyWatcher.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/CSharp/Ivy/Ivy/IvyWatcher.cs b/CSharp/Ivy/Ivy/IvyWatcher.cs
index d9be71e..fd7f0ff 100644
--- a/CSharp/Ivy/Ivy/IvyWatcher.cs
+++ b/CSharp/Ivy/Ivy/IvyWatcher.cs
@@ -31,7 +31,7 @@ namespace IvyBus
private int port;
private volatile Thread listenThread;
private IPAddress group;
- private IvyUDPStream stream;
+ private IvyUDPStreamV4 stream;
/// <summary> creates an Ivy watcher
/// </summary>
@@ -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;
}