public void Class1Activate(IPEndPoint ep)
 {
     if (UdpListener == null)
     {
         UdpListener = new EnIPUDPTransport(ep.Address.ToString(), ep.Port);
     }
 }
 // Local endpoint is important for broadcast messages
 // When more than one interface are present, broadcast
 // requests are sent on the first one, not all !
 public EnIPClient(String End_point, int TcpTimeout = 100)
 {
     this.TcpTimeout           = TcpTimeout;
     udp                       = new EnIPUDPTransport(End_point, 0);
     udp.EncapMessageReceived += new EncapMessageReceivedHandler(on_MessageReceived);
 }