diff options
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyWatcher.cs | 8 |
1 files changed, 4 insertions, 4 deletions
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;
/// <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;
}
|