Getting the IP Address of a Remote Socket Endpoint

http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.remoteendpoint.aspx You can then call the IPEndPoint..::.Address method to retrieve the remote IPAddress, and the IPEndPoint..::.Port method to retrieve the remote port number. More from the link (fixed up alot heh): Socket s; IPEndPoint remoteIpEndPoint = s.RemoteEndPoint as IPEndPoint; IPEndPoint localIpEndPoint = s.LocalEndPoint as IPEndPoint; if (remoteIpEndPoint != null) { // Using the RemoteEndPoint property. … Read more

What is an “endpoint” in WCF?

An endpoint is what a service exposes, and in WCF terms, is made up of three things: Address Binding Contract Address is the URL by which the endpoint can be reached. Binding dictates transformations that are applied as well as the shape (to some degree) of the messages sent to the implementation of the Contract … Read more