Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/11/2004, 19:27
Avatar de AJVEvoluzione
AJVEvoluzione
 
Fecha de Ingreso: agosto-2004
Ubicación: Buenos Aires
Mensajes: 195
Antigüedad: 20 años, 8 meses
Puntos: 1
Listo me baje eso pero no lo entiendo como hacer para redireccionar de acuerdo al ping

Código:
<html>
<head></head>
<body>
<h2 align=center>Ping Test</h2>

<%
  rem ***********************************************************
  rem * Create the object
  rem ***********************************************************
  Set Pinger = Server.CreateObject("AspPing.Conn")

  rem ***********************************************************
  rem * Set the host we'll be pinging
  rem ***********************************************************
  Pinger.RemoteHost = "www.microsoft.com"

  rem ***********************************************************
  rem * Optional count for number of times to ping remotehost
  rem * defaults to 1
  rem ***********************************************************
  Pinger.PingCount = 2


  rem ***********************************************************
  rem * Ping and then dump the results
  rem ***********************************************************
  Response.Write "<pre>" & Pinger.Ping & "</pre>"

  rem ***********************************************************
  rem * Release the object
  rem ***********************************************************
  Set Pinger = nothing

%>

</body>
</html>