diff options
Diffstat (limited to 'CSharp/Ivy/IvyProbe/IvyProbe.cs')
-rw-r--r-- | CSharp/Ivy/IvyProbe/IvyProbe.cs | 6 |
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)
{
|