J
Jayme.Pechan
I was working on a multicast client and ran into a possible problem. Here
is the code...
udpClient = new UdpClient(4000);
udpClient.JoinMulticastGroup(IPAddress.Parse("224.1.1.1"));
udpClient.BeginReceive(new AsyncCallback(DoUDPReceive), this);
My concern is that it seems to make exclusive use of port 4000 so I worry
that in a Citrix environment, it would fail with an AddressAlreadyInUse
exception like it does if you run two instances locally. Unfortunatelly it
doesn't seem to take the ExclusiveUseAddress = false option either. Even if
I use a bind instead of the constructor, it seems to ignore the property and
give me the same error.
Does anyone know how to resolve this issue properly? Thanks.
Jayme
is the code...
udpClient = new UdpClient(4000);
udpClient.JoinMulticastGroup(IPAddress.Parse("224.1.1.1"));
udpClient.BeginReceive(new AsyncCallback(DoUDPReceive), this);
My concern is that it seems to make exclusive use of port 4000 so I worry
that in a Citrix environment, it would fail with an AddressAlreadyInUse
exception like it does if you run two instances locally. Unfortunatelly it
doesn't seem to take the ExclusiveUseAddress = false option either. Even if
I use a bind instead of the constructor, it seems to ignore the property and
give me the same error.
Does anyone know how to resolve this issue properly? Thanks.
Jayme