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