Jump to content

Checking status of a Shoutcast radio


Recommended Posts

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 ?

Link to comment
Share on other sites

$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)EndIf

Error 4 for me... =(

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...