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.
A level above what yo uasked for is libCurl
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.