h!

I have a general question. I do som worx on an app to make it fit for terminal servers. This app opens a TCP listener, so far, it works for one user. This is ok for a workstation, but on a terminalserver there are more than 1 instance of our program.

WCF has a service for port sharing, and I activated it.

Running the app in 2 sessions: one success, one failed.
Both apps tried to register a listener with this (example) URL:

/MyService

What happens if 2 apps register exactly the same URI? In theory I can register different URIs on the same port, but can I register two URI for the same port so both of the two processes receive the TCP data?

That what I know is that I have to add a line of Code:

bool portSharingEnabled = binding.PortSharingEnabled;

My question is:

will this work for more than one process if I use the same adress?