public Wave ( |
||
facilitatorIp | ||
timeout | int | |
udpClient | ||
return |
public PeerInfo Wave(IPEndPoint facilitator) { var waver = new Waver(); _self = waver.Wave(facilitator, 10000, _udpClient); Logger.Debug("After wave, local endpoints are " + _self); if (_self.ExternalEndPoint == null) { Logger.Warn("Failed to get external endpoint : " + _self); } if (_self.EndPoints.Count == 0) { throw new Exception("Failed to determine any local endpoints : " + _self.ToString()); } return _self; }
public PeerInfo Wave(IPEndPoint facilitator, int timeout) { _waver = new Waver(); _self = _waver.Wave(facilitator, timeout, _udpClient); return _self; }