diff options
Diffstat (limited to 'IvyPPC/IvyWatcher.cs')
-rw-r--r-- | IvyPPC/IvyWatcher.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IvyPPC/IvyWatcher.cs b/IvyPPC/IvyWatcher.cs index 5a3afc8..092de81 100644 --- a/IvyPPC/IvyWatcher.cs +++ b/IvyPPC/IvyWatcher.cs @@ -63,7 +63,7 @@ namespace IvyBus byte[] addr = group.GetAddressBytes();
if ((addr[0] & 0xf0) == 0xe0)
{
- broadcast.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, new MulticastOption( group ));
+ broadcast.SetSocketOption(SocketOptionLevel.Udp, SocketOptionName.AddMembership, new MulticastOption( group ));
}
// TODO support the Two protocol
if (bus.protocolVersion == 4)
|