public Server(ServerForm serverForm) { this.serverForm = serverForm; client = new UdpClient(port); multicastAddress = IPAddress.Parse("239.0.0.222"); ipEndPoint = new IPEndPoint(multicastAddress, 2222); client.JoinMulticastGroup(multicastAddress); }