public UDPOperatorCameraDevice(int ID, string IpAddress, int ListeningPort, int SendingPort) { PacketReconstructors = new PacketReconstructor(new Packet().GetBytes().Length, PacketReconstructedCBHandler); aUDPListener = new UDPListener(ListeningPort, ReceivedHandler); aUDPListenerStatistics = new UDPListenerStatistics(aUDPListener, 1000); aUDPSender = new UDPSender(IpAddress, SendingPort); ImageConverter = TypeDescriptor.GetConverter(typeof(Bitmap)); this.ID = ID; }