Are there C++ versions of PHP's fsockopen, fread, fwrite, fclose or anything similar?
I'm using Windows (MFC) and TCP if that changes anything.
Are there C++ versions of PHP's fsockopen, fread, fwrite, fclose or anything similar?
I'm using Windows (MFC) and TCP if that changes anything.
there are analogous functions for all of thoes take a look at the winsock api for particular functions.
MFC is a wrapper for much of the win32 api and has a Csoket and CAsyncSocket abstract sockets.