> [html] > [head] > [title] > Site80 > [/title] > [/head] > [body] > Site80 > [/body] > [/html] >>
> [html] > [head] > [title] > Site37113 > [/title] > [/head] > [body] > Site37113 > [/body] > [/html] >>
> clear > set procedure to wwUtils additive > set classlib to wwIPStuff additive > local loIP, lnBuf, lcData, lnCode, lcSite, lcPath > loIP = create( 'wwIpStuff') > lnBuf = 0 && reset before every Get!!! > lcData = '' && reset before every Get!!! > lcSite = '192.168.200.131:37113' && note: no leading 'http://' > lcPath = '/hey.html' > lnCode = loIp.HTTPConnect(m.lcSite) > if m.lnCode # 0 > * error, deal with loIp.cErrorMsg > else > lnCode = loIp.HTTPGetEX(m.lcPath, @lcData, @lnBuf) > if m.lnCode = 0 > ? lnBuf > ? lcData > endif > endif > = loIp.HTTPClose() && no matter what >