If $iPing Then ; If a value greater than 0 was returned then display the following message.
MsgBox(4096, "", "收发时间间隔: " & $iPing & "毫秒.") ;只要在这里运行要联网的就可以.要PING的网站就选个大的网站就行了.
Else
MsgBox(4096, "", "发生了一个错误, @error 值为: " & @error)
EndIf
EndFunc ;==>Example