What is the C# equivalent for Java Socket.getInetAddress()?
<p>I am developing a http program in C# while referring to some source code written in Java! I would like to know if there is a C# equivalent way for the the method <strong>getInetAddress()</strong> . In other words how to get the ip address from a socket object in C# ?</p>
