diff options
author | fcolin | 2007-02-01 10:03:56 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:03:56 +0000 |
commit | d8b8fd80d4951c20b44966c33fa85f64b53bea5f (patch) | |
tree | 54fddd36a8a62bd88e1ab011e8f66e8b6ae94840 | |
parent | 6b9b492882f630c801d92fd43f81e27bd82602df (diff) | |
download | ivy-csharp-d8b8fd80d4951c20b44966c33fa85f64b53bea5f.zip ivy-csharp-d8b8fd80d4951c20b44966c33fa85f64b53bea5f.tar.gz ivy-csharp-d8b8fd80d4951c20b44966c33fa85f64b53bea5f.tar.bz2 ivy-csharp-d8b8fd80d4951c20b44966c33fa85f64b53bea5f.tar.xz |
Utilisateur : Fcolin Date : 30/06/06 Heure : 13:40 Archivé dans $/CSharp/Ivy/Ivy Commentaire: gestion designer (vss 26)
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyWatcher.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyWatcher.cs b/CSharp/Ivy/IvyPPC/IvyWatcher.cs index df7788d..3b40325 100644 --- a/CSharp/Ivy/IvyPPC/IvyWatcher.cs +++ b/CSharp/Ivy/IvyPPC/IvyWatcher.cs @@ -96,8 +96,10 @@ namespace IvyBus stream.receiveMsg(out remoteEP, out version, out appPort, out appId, out appName);
IPAddress remotehost = remoteEP.Address;
+#if (!Mono)
traceDebug("BUSWATCHER Receive Broadcast from " + Dns.GetHostEntry(remotehost).HostName + ":" + remoteEP.Port);
-
+
+#endif
//TODO if ( !isInDomain( remotehost ) ) continue;
if (version != stream.ProtocolVersion)
@@ -111,10 +113,12 @@ namespace IvyBus continue;
if ((appPort == bus.applicationPort) && (remotehost.Equals(bus.applicationHost)))
continue;
+#if (!Mono)
traceDebug("BUSWATCHER reponse au Broadcast de " + Dns.GetHostEntry(remotehost).HostName + ":" + remoteEP.Port + " port " + appPort +
- " version " + version +
- " id " + appId +
- " name " + appName);
+ " version " + version +
+ " id " + appId +
+ " name " + appName);
+#endif
try
{
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|