Ejemplo n.º 1
0
        private void JoinServer(string ipAddress, string port)
        {
            try
            {
                _networkManager.JoinSession(ipAddress, port);
            }
            catch (Exception)
            {
                // Possibly a problem with the IP ADDRESS
                // Go straight to failed.
                OnFailedToConnect();
                return;
            }

            WaitToConnect();
        }