summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:06:30 +0000
committerfcolin2007-02-01 10:06:30 +0000
commit87357d4c41536b2ebbc2e5b766af30eef487681d (patch)
tree57fa050ec14682104bab763bb64736bbb5dfecc0 /CSharp
parent9b955e69a69ccaaff6c3206a1dedbc1e62212d91 (diff)
downloadivy-csharp-87357d4c41536b2ebbc2e5b766af30eef487681d.zip
ivy-csharp-87357d4c41536b2ebbc2e5b766af30eef487681d.tar.gz
ivy-csharp-87357d4c41536b2ebbc2e5b766af30eef487681d.tar.bz2
ivy-csharp-87357d4c41536b2ebbc2e5b766af30eef487681d.tar.xz
Utilisateur : Fcolin Date : 31/03/06 Heure : 18:07 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 20)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs6
1 files changed, 3 insertions, 3 deletions
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)
{