public Client() { ipHostInfo = Dns.GetHostEntry(Dns.GetHostName()); ipAddress = ipHostInfo.AddressList[0]; ipLocalEndPoint = new IPEndPoint(ipAddress, 0); udpClient = new UdpClientEx(ipLocalEndPoint); }
public Client() { ipHostInfo = Dns.GetHostEntry(Dns.GetHostName()); ipAddress = ipHostInfo.AddressList[0]; ipLocalEndPoint = new IPEndPoint(ipAddress, 0); udpClient = new UdpClientEx(ipLocalEndPoint); }