Ken Kolda
11/4/2004 4:48:00 PM
To allow for callbacks, use:
new TcpChannel(0)
The "0" tells .NET to open a server channel on a randomly selected port as
needed so you don't have to specify a port number.
Ken
"Phil Greg" <PhilGreg@discussions.microsoft.com> wrote in message
news:BA068B2F-30FB-4613-AEF0-BBA616441EDF@microsoft.com...
> Hi,
> When using client callbacks, I understand you need to define a TcpChannel
> with a port number (ex.: new TcpChannel(8887)), instead of the regular one
> way constructor (new TcpChannel()). However, when you run two instances of
> the same client on the same computer, you get an exception since both
clients
> want to use the same channel. How would you get around that?