Einzelnen Beitrag anzeigen
Alt 12.02.2004, 00:09   #4
Nightman
Inventar
 
Registriert seit: 04.09.2001
Alter: 42
Beiträge: 1.959

Mein Computer

Standard

hab asp ping installiert aber funzt ned wirklich

link

-----------------------------
<%
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

%>
____________________________________
MfG Nightman
Nightman ist offline   Mit Zitat antworten