System.Net.IPAddress returning weird addresses
问题 I am writing a (rather simple :) networking application, and am testing it using localhost:27488 ( 127.0.0.1:27488 ). I am using a System.Net.Sockets.TcpClient for the connection, which takes a System.Net.IPAddress 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 Byte(4) or an Int64 ( long ) for the address. The probelm is, when I initialize the IPAddress like this: Dim