From 8db949d36fe89260e8351416d0fd8e111fb91fb3 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:03:58 +0000 Subject: Utilisateur : Fcolin Date : 30/06/06 Heure : 14:30 Archivé dans $/CSharp/Ivy/Ivy Commentaire: remove Mono ugly if def !!! (vss 27) --- CSharp/Ivy/IvyPPC/IvyWatcher.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/CSharp/Ivy/IvyPPC/IvyWatcher.cs b/CSharp/Ivy/IvyPPC/IvyWatcher.cs index 3b40325..8416921 100644 --- a/CSharp/Ivy/IvyPPC/IvyWatcher.cs +++ b/CSharp/Ivy/IvyPPC/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); -- cgit v1.1