MrNymous Posted May 3, 2010 Posted May 3, 2010 Well .. sorry for making trouble now the third time =) Melba23 xDD Okay.. now .. i got a program wich is streaming from my shoutcast radio ... now i must check if the station is online cause if not - and the client want to connect - it stops working Is there a little Ping script for my Shoutcast stream on port 8000 wich is quick and steady ?
somdcomputerguy Posted May 3, 2010 Posted May 3, 2010 Well there is a Ping function in AutoIt.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
MrNymous Posted May 3, 2010 Author Posted May 3, 2010 $var = Ping("http://djrazr.myftp.org:8000",250)If $var Then; also possible: If @error = 0 Then ... Msgbox(0,"Status","Online, roundtrip was:" & $var)Else Msgbox(0,"Status","An error occured with number: " & @error)EndIfError 4 for me... =(
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now