示例#1
0
 public void Start()
 {
     _mSocket = new MulticastSocket("225.5.6.7", 5000, 10);
     _mSocket.OnNotifyMulticastSocketListener += _mSocket_OnNotifyMulticastSocketListener;
     Initialize(PointerRole);
 }
 public UdpPerformanceTest()
 {
     _mSocket = new MulticastSocket("225.5.6.78", 5000, 10);
     _mSocket.OnNotifyMulticastSocketListener += new NotifyMulticastSocketListener(_mSocket_OnNotifyMulticastSocketListener);
     _mSocket.StartReceiving();
 }