diff options
-rw-r--r-- | CSharp/Ivy/Ivy/IvyClient.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs index ae4069e..4e65df2 100644 --- a/CSharp/Ivy/Ivy/IvyClient.cs +++ b/CSharp/Ivy/Ivy/IvyClient.cs @@ -104,7 +104,8 @@ namespace IvyBus appPort = 0;
this.bus = bus;
this.socket = socket;
-
+
+ //TODO remove ALL reverse DNS search !!!!
IPHostEntry hostInfo = Dns.GetHostEntry(((IPEndPoint)socket.RemoteEndPoint).Address);
remoteHost = hostInfo.HostName;
remotePort = ((IPEndPoint)socket.RemoteEndPoint).Port;
|