From 87357d4c41536b2ebbc2e5b766af30eef487681d Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:06:30 +0000 Subject: Utilisateur : Fcolin Date : 31/03/06 Heure : 18:07 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 20) --- CSharp/Ivy/IvyProbe/IvyProbe.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs index a357508..55360fa 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs @@ -7,7 +7,7 @@ namespace IvyProbe using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Reflection; - + using System.Net; partial class IvyProbe : System.Windows.Forms.Form { @@ -28,11 +28,11 @@ namespace IvyProbe private void connect(IvyClient client) { - append(client.ApplicationName + " connected from "+client.RemoteAddress); + append(client.ApplicationName + " connected from " + Dns.GetHostEntry(client.RemoteAddress).HostName); } private void disconnect(IvyClient client) { - append(client.ApplicationName + " disconnected from " + client.RemoteAddress); + append(client.ApplicationName + " disconnected from " + Dns.GetHostEntry(client.RemoteAddress).HostName); } private Ivy.ApplicationExit die(IvyClient client, int id, string message) { -- cgit v1.1