Browse Source

Add a MonoTODO

svn path=/trunk/mcs/; revision=5804
Miguel de Icaza 23 years ago
parent
commit
a9de0bcd8d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      mcs/class/System/System.Net/Dns.cs

+ 6 - 0
mcs/class/System/System.Net/Dns.cs

@@ -122,7 +122,13 @@ namespace System.Net {
                 /// <summary>
                 /// This method returns the host name associated with the local host.
                 /// </summary>
+		[MonoTODO]
                 public static string GetHostName() {
+
+			//
+			// This should really PInvoke into `gethostname', which is not the
+			// same thing as `127.0.0.1' which will be most likely localhost
+			//
                         IPHostEntry h = GetHostByAddress("127.0.0.1");
                         return h.HostName;
                 }