This class is used for listening unicast message.
Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the SoapOverUdp class.
 /// </summary>
 public SoapOverUdp()
 {
     this.client          = GetUdpClient();
     this.sender          = new UdpSender(this.client);
     this.unicastListener = new UnicastListener(this.client);
     this.unicastListener.UnicastMsgArrived += new UnicastListener.UnicastMessageArrived(this.UnicastListenerMessageArrived);
 }
 /// <summary>
 /// Initializes a new instance of the SoapOverUdp class.
 /// </summary>
 public SoapOverUdp()
 {
     this.client = GetUdpClient();
     this.sender = new UdpSender(this.client);
     this.unicastListener = new UnicastListener(this.client);
     this.unicastListener.UnicastMsgArrived += new UnicastListener.UnicastMessageArrived(this.UnicastListenerMessageArrived);
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the SoapOverUdp class.
 /// </summary>
 /// <param name="multicastAddress">The multicast address</param>
 /// <param name="multicastPort">The multicast port</param>
 public SoapOverUdp(string multicastAddress, int multicastPort)
 {
     this.client          = GetUdpClient();
     this.sender          = new UdpSender(this.client);
     this.unicastListener = new UnicastListener(this.client);
     this.unicastListener.UnicastMsgArrived += new UnicastListener.UnicastMessageArrived(this.UnicastListenerMessageArrived);
     this.multicastListener = new MulticastListener(multicastAddress, multicastPort);
     this.multicastListener.MulticastMsgArrived += new MulticastListener.MulticastMessageArrived(this.MulticastListener_multicastMsgArrived);
 }
 /// <summary>
 /// Initializes a new instance of the SoapOverUdp class.
 /// </summary>
 /// <param name="multicastAddress">The multicast address</param>
 /// <param name="multicastPort">The multicast port</param>
 public SoapOverUdp(string multicastAddress, int multicastPort)
 {
     this.client = GetUdpClient();
     this.sender = new UdpSender(this.client);
     this.unicastListener = new UnicastListener(this.client);
     this.unicastListener.UnicastMsgArrived += new UnicastListener.UnicastMessageArrived(this.UnicastListenerMessageArrived);
     this.multicastListener = new MulticastListener(multicastAddress, multicastPort);
     this.multicastListener.MulticastMsgArrived += new MulticastListener.MulticastMessageArrived(this.MulticastListener_multicastMsgArrived);
 }