Ejemplo n.º 1
0
 public KService(string host, int port)
 {
     this.TimeNow = (uint)TimeHelper.Now();
     this.socket  = new UdpClient(new IPEndPoint(IPAddress.Parse(host), port));
     this.StartRecv();
 }
Ejemplo n.º 2
0
Archivo: KService.cs Proyecto: wiyi/ET
 public KService()
 {
     this.TimeNow = (uint)TimeHelper.Now();
     this.socket  = new UdpClient(new IPEndPoint(IPAddress.Any, 0));
     this.StartRecv();
 }
Ejemplo n.º 3
0
 public KService(IPEndPoint ipEndPoint)
 {
     this.TimeNow = (uint)TimeHelper.Now();
     this.socket  = new UdpClient(ipEndPoint);
     this.StartRecv();
 }