title: Socket property that returns IP address/Port
body: <p>I am trying to get a <code>String</code> representation of the <code>IP Address</code> and <code>Port</code> that my <code>Socket</code> has been initialized with. I am using this data to print in a message box for the user if an error occurs. </p>
  
  <p>Using the <code>WinSock</code> control in VB6 the following code was used:</p>
  
  <pre><code>"Could not open TCP Connection to " &amp; frmMain.winSock1.RemoteHost &amp; ":" 
            &amp; frmMain.winSock1.RemotePort
  </code></pre>
  
  <p>Any help at all would be appreciated.</p>