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(); }