public Client(IPEndPoint groupEndPoint) { myGuid = Guid.NewGuid(); UdpSender = new UdpClient(); UdpSender.AllowReusePort(); this.groupEndPoint = groupEndPoint; }
public Server() { copies = new ConcurrentDictionary <Guid, IPAddress>(); timeouts = new ConcurrentDictionary <Guid, int>(); UdpReceiver = new UdpClient(); UdpReceiver.AllowReusePort(); }