On MS.NET, you can have multiple service endpoints under a <service> all listening on the same port. I believe you can even have endpoints on different services listening on the same port, but the former scenario was what I tested.
Mono throws an exception when it tries to set up what I presume to be the second endpoint, claiming the address is already in use.
I presume it's going to be quite a bit of work to set up port sharing (since it seems each channel is given its own TcpListener), so i'm goign to put this lower priority.
Is this using XSP, mod_mono or hosting your own service?
Could you provide us with a self-contained test case, so we can look at the exact code you want fixed?
Created attachment 120 [details]
the following code allows two service endpoints to share the same port. It works fine on windows/ms.net, using mono's compiled binaries. On mono itself, the initialization dies with "Address already in use" exception.