I have voice-chat based On ASP files
the chat.asp file connect to the Voice services via var named " bconn " : bport "
PUBLIC CONST BConnIP = "Server IP"
PUBLIC CONST Bport = Port#
and the script try to connect to the server if server down it's get back msg said " connection faild "
IF bConnected = 1 THEN
BMC.Login , "", , ""
If BMC.RegUserDef > BHeadPicNum Then BMC.RegUserDef = 1
BMC.Login 0, "", BMC.RegUserDef, top.opener.uid.value
MsgBox "Connection failed!", vbOKOnly + VbExclamation
I want to add back server if the script try to connect to the main server then try connect to the backup server then said connection faild
files will be preset when needed