/// <summary> /// Starts the login to server process. /// </summary> /// <param name="server">The host server.</param> /// <param name="port">The port to connect to.</param> public void StartLogin(string server, string port) { if (_signaller.IsConnected()) { return; } _signaller.Connect(server, port, GetLocalPeerName()); }
/// <summary> /// Starts the login to server process. /// </summary> /// <param name="uri">what to connect to</param> public void StartLogin(string uri, string peerName = "") { if (_signaller.IsConnected()) { return; } _signaller.Connect(uri, peerName == String.Empty ? GetLocalPeerName() : peerName); }
/// <summary> /// Starts the login to server process. /// </summary> /// <param name="server">The host server.</param> /// <param name="port">The port to connect to.</param> public void StartLogin(string server, string port, string peerName = "") { if (_signaller.IsConnected()) { return; } //_signaller.Connect(server, port, GetLocalPeerName()); _signaller.Connect(server, port, peerName == String.Empty ? GetLocalPeerName() : peerName); }