diff options
author | fcolin | 2007-02-01 09:52:10 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:52:10 +0000 |
commit | 24305c0b172870fa2bbf87af3a50f313355d3e93 (patch) | |
tree | 84e5b73ad47772e8f5e9fd565f743af9f1d10b1a /CSharp | |
parent | 713c167d65620da9d5775675bd8166db041b5d4c (diff) | |
download | ivy-csharp-24305c0b172870fa2bbf87af3a50f313355d3e93.zip ivy-csharp-24305c0b172870fa2bbf87af3a50f313355d3e93.tar.gz ivy-csharp-24305c0b172870fa2bbf87af3a50f313355d3e93.tar.bz2 ivy-csharp-24305c0b172870fa2bbf87af3a50f313355d3e93.tar.xz |
Utilisateur : Fcolin Date : 30/06/06 Heure : 14:30 Archivé dans $/CSharp/Ivy/Ivy Commentaire: remove Mono ugly if def !!! (vss 27)
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/Ivy/IvyWatcher.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/CSharp/Ivy/Ivy/IvyWatcher.cs b/CSharp/Ivy/Ivy/IvyWatcher.cs index 3b40325..8416921 100644 --- a/CSharp/Ivy/Ivy/IvyWatcher.cs +++ b/CSharp/Ivy/Ivy/IvyWatcher.cs @@ -96,10 +96,9 @@ 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)
@@ -113,12 +112,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);
-#endif
+ " version " + version +
+ " id " + appId +
+ " name " + appName);
+
try
{
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|