Пример #1
0
 internal static unsafe partial Error SetIPv6MulticastOption(SafeHandle socket, MulticastOption multicastOption, IPv6MulticastOption *option);
Пример #2
0
 internal static extern unsafe Error SetIPv6MulticastOption(SafeHandle socket, MulticastOption multicastOption, IPv6MulticastOption *option);
        internal static unsafe Error GetIPv6MulticastOption(SafeHandle socket, MulticastOption multicastOption, IPv6MulticastOption *option)
        {
            bool release = false;

            try
            {
                socket.DangerousAddRef(ref release);
                return(DangerousGetIPv6MulticastOption((int)socket.DangerousGetHandle(), multicastOption, option));
            }
            finally
            {
                if (release)
                {
                    socket.DangerousRelease();
                }
            }
        }
 private static extern unsafe Error DangerousSetIPv6MulticastOption(int socket, MulticastOption multicastOption, IPv6MulticastOption *option);
Пример #5
0
 internal static extern unsafe Error GetIPv6MulticastOption(int socket, MulticastOption multicastOption, IPv6MulticastOption *option);