How do I determine the remote IP Address of a connected socket?
I have a RemoteEndPoint object I can access and well as its AddressFamily member.
How do I ut
I've made this code in VB.NET but you can translate. Well pretend you have the variable Client as a TcpClient
Dim ClientRemoteIP As String = Client.Client.RemoteEndPoint.ToString.Remove(Client.Client.RemoteEndPoint.ToString.IndexOf(":"))
Hope it helps! Cheers.