c++ - Visual C, WinSock HTTP Req, and Non-Windows -
i have simple question. student , learning. not proficient @ c++, set working http reqest app in c++ using winsock , wanted know after compiling http request still sent other oses don't have winsock?
winsock, or @ least parts have been using introductory networking stuff, based off of, , largely compatible with, bsd socket api, available on current operating systems. if don't have experience cross-platform development it's unlikely code compile first time through on linux system, underlying techniques same.
for cross-platform networking, might want consider qt, provides api work same on oses without per-platform stuff. networking api based off berkeley sockets.
in general, though, there's no way of checking code works cross-platform without testing cross-platform. grab linux distribution , try out; note intended work windows disk without need repartition.
Comments
Post a Comment