Пример #1
0
 public void Class1SendO2T(SequencedAddressItem Item)
 {
     if (UdpListener != null)
     {
         UdpListener.Send(Item, epUdp);
     }
 }
Пример #2
0
        // Unicast ListIdentity
        public void DiscoverServers(IPEndPoint ep)
        {
            Encapsulation_Packet p = new Encapsulation_Packet(EncapsulationCommands.ListIdentity);

            p.Command = EncapsulationCommands.ListIdentity;
            udp.Send(p, ep);
            Trace.WriteLine("Send ListIdentity to " + ep.Address.ToString());
        }