예제 #1
0
        private void StartNewMultiCastChannel(Uri connection)
        {
            ConnectionInfo info = new ConnectionInfo();

            info.Addr = connection.DnsSafeHost;
            info.Port = connection.Port;

            MulticastMessageChannel channel = new MulticastMessageChannel(info);

            AddChannel(channel);
            if (log.IsDebugEnabled)
            {
                log.Debug("Created Multicast Channel running in port " + channel.udpSocket.LocalEndPoint +
                          " remote addrs: " + channel.udpSocket.RemoteEndPoint);
            }
        }
예제 #2
0
        private void StartNewMultiCastChannel(Uri connection)
        {
            ConnectionInfo info = new ConnectionInfo();
            info.Addr = connection.DnsSafeHost;
            info.Port = connection.Port;

            MulticastMessageChannel channel = new MulticastMessageChannel(info);
            AddChannel(channel);
            if (log.IsDebugEnabled)
                log.Debug("Created Multicast Channel running in port " + channel.udpSocket.LocalEndPoint +
                          " remote addrs: " + channel.udpSocket.RemoteEndPoint);
        }