summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyProbe
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyProbe')
-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)
{