We have the follwing situation:
The clients are sending events / messages to the server over a webservice. The server can identify the clients according to the "Sender URI". The server must distribute now the message to the "interested listeners".
Now it can be that a client says he is e.g. http://127.0.0.1:8000/ on the server this client is configured with http://localhost:8000. Uri.Compare( ) and Uri.Equals return both false.
Does anybody knows an alogrithm who can identify the URI with all it's representations? I mean Localhost == 127.0.0.1 == "Real IP" == "DNS-Name" ?
Thanks Thomas