title: System.Net.IPAddress returning weird addresses
body: <p>I am writing a (rather simple :) networking application, and am testing it using <code>localhost:27488</code> (<code>127.0.0.1:27488</code>).<br>
  I am using a <code>System.Net.Sockets.TcpClient</code> for the connection, which takes a <code>System.Net.IPAddress</code> to specify the host... the only thing is, I can't figure out how to initialize the class with the right IP address. I went over the MSDN docs and it says it takes either a <code>Byte(4)</code> or an <code>Int64</code> (<code>long</code>) for the address.<br>
  The probelm is, when I initialize the <code>IPAddress</code> like this:  </p>
  
  <pre><code>Dim ipAddr As New System.Net.IPAddress(127001)
  </code></pre>
  
  <p>it returns the address as <code>25.240.1.0</code>. From what I understand from the docs, <code>127001</code> should return <code>127.0.0.1</code>... Maybe I missed something there? <a href="http://msdn.microsoft.com/en-us/library/13180abx.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/13180abx.aspx</a>  </p>