here's my suggestion, not tested

GSTNet.c
function GSTNet_HTTPGet(STRING* sHostname,STRING* sPath,STRING* sResult); // returns a requested page
STRING* sGSTNet_HTTPResult[100000]; // allocate memory for results


call this way:

GSTNet_HTTPGet("www.gstools.de","/index.php",sGSTNet_HTTPResult);


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files