But my server app got no requests if i set up the socket like this:
_listener = new Socket(AddressFamily.InterNetworkV6, SocketType.Dgram,
ProtocolType.Udp);
_listener.SetSocketOption(SocketOptionLevel.Socket,
SocketOptionName.Broadcast, 1);
IPEndPoint receiveEndPoint = new IPEndPoint(IPAddress.IPv6Any,
_listenPort);
_listener.Bind(receiveEndPoint);
// ReSharper disable AssignNullToNotNullAttribute
_listener.SetSocketOption(
SocketOptionLevel.IPv6,
SocketOptionName.AddMembership,
new IPv6MulticastOption(IPAddress.Parse("FF02::1")));
If i use the address FF02::3 all works fine... any suggestions? Where
is my fault?
tia
--
-Farooque
"ati" <andre....@googlemail.com> wrote in message
news:001e428e-4485-4560...@z41g2000yqz.googlegroups.com...
On 23 Dez. 2009, 11:59, "Farooque Khan" <farooque-nos...@info-spectrum-
removenospam.com> wrote:
> I think that's because FF02::1 is a broadcast address, you can't really
> subscribe a socket membership to it.
>
> --
>
> -Farooque
>
> "ati" <andre.tip...@googlemail.com> wrote in message