I made this object as a test of the OOP model created by Thomas & NaN.
It does all the basic TCP/IP winsock stuff, plus it has some extra functionality built in like receiving data one line at a time if required. The object file is compatible with NaN's OOP2HTML utility, in fact the output HTML help file is included in the zip.
I tested it pretty well, but I wouldn't bet on it being bug-free yet.

Ok I uploaded a new version, the new classname is CSOCKET. Thx for the tip, grv.
Posted on 2002-07-04 12:39:15 by Qweerdy
It would probably make more sense to change the class name to
CSOCKET or something. That way you wouldn't have to edit windows.inc...
Posted on 2002-07-04 21:40:32 by grv575
Ok, I updated the post above. To always get the latest version, however, go to my website.
Posted on 2002-07-05 04:31:23 by Qweerdy
Nice work :alright:. It's good to have such functionality (reading lines) inside the object, it makes the code that uses it cleaner as well.

Thomas
Posted on 2002-07-05 07:11:29 by Thomas