Argument Description
servicereference Reference to the Internet service instance
//Inet服务实例用户对像
urlname String specifying the URL whose source data is returned in data
//string 类型,指定要得到数据的URL
data InternetResult descendant containing an overridden InternetData
function that handles the HTML source for urlname
//继承了InternetResult对象的类用户对象,该用户对象中定义要求定义覆盖函数 internetdata() 用于处理internet返回的数据
Return value // 返回值
Integer. Returns values as follows:
1 Success
-1 General error
-2 Invalid URL
-4 Cannot connect to the Internet