Beispiel #1
0
 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);
 }