public KService(IPEndPoint rIpEndPoint) { this.mTimeNow = (uint)TimeAssist.Now(); this.mSocket = new UdpClient(rIpEndPoint); this.StartRecv(); }
public KService() { this.mTimeNow = (uint)TimeAssist.Now(); this.mSocket = new UdpClient(new IPEndPoint(IPAddress.Any, 0)); this.StartRecv(); }