Q:

WCF - Who is connecting to me

With WCF, how can I determine who is connecting to my server?
Background: I have a set of WCF clients and servers. I suspect one client is pointed to the wrong server, so I want to log all the connections to that server. I don't know which client it is, so I have to check it on the server side.

A:

This is easiest in 3.5 via RemoteEndpointMessageProperty; see here.

