diff options
author | fcolin | 2007-02-01 10:03:26 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:03:26 +0000 |
commit | 04790369fda05fa67a3004a4c7b7d6102f1d936c (patch) | |
tree | 0ec5d3fb9caa2e22b0d4d867c8b8db1f7586decc | |
parent | 71b778ec26e8d0a7b627019312430b15ffd687ca (diff) | |
download | ivy-csharp-04790369fda05fa67a3004a4c7b7d6102f1d936c.zip ivy-csharp-04790369fda05fa67a3004a4c7b7d6102f1d936c.tar.gz ivy-csharp-04790369fda05fa67a3004a4c7b7d6102f1d936c.tar.bz2 ivy-csharp-04790369fda05fa67a3004a4c7b7d6102f1d936c.tar.xz |
Utilisateur : Fcolin Date : 1/12/05 Heure : 17:47 Archivé dans $/CSharp/Ivy Commentaire: (vss 11)
-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;
}
|