Page 1 of 1

PostPosted: Fri Aug 03, 2001 4:02 am
by STrRedWolf
Can some Internet socket access be added, with some functions breaking on a Line feed? This is what Perl uses, and it would help immensely with current protocals. Some suggested functions:

int inetopen("site",portnumber);
inetclose();
inetgets(pointer-to-string);
inetputs(string);
inetread(pointer-to-array-of-chars,num-to-read);
inetwrite(pointer,num-to-read);

All will return false on succeed, true (with a number of what value) on error. For inetread/write, it would return negative on fail, positive on how many succeeded.