If I detect if the MMS link is connected successfully? What to do with it
Source: Internet
Author: User
If I detect if the MMS link is connected successfully?
For example, an address like this
Mms://live.cri.cn/oldies
If there is a change in the source station I would like to check if this link can be linked successfully
Previously used the Get_headers () function to detect HTTP files
But this function doesn't seem to work for MMS.
Is there any other way to test it?
------Solution--------------------
Get_headers: The sending server responds to HTTP requests
Get_headers (string url[link format])
Get_headers () returns the server HTTP request in the form of an array. If execution fails, it will return false and an error in the horizontal e_warning ".
The optional parameter is set to 1,get_headers () to analyze the system's response speed and the keys in the set array.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.