简体   繁体   中英

How C++ Libraries like POCO can have access to network?

How C++ libraries like POCO can have access to the computer's network and can do networking tasks?

Does POCO use OS's APIs to access network or it use hardware directly to access to network?

On modern operating systems such as Linux/Unix or Windows, applications (and libraries) don't have direct access to hardware. To access network connections, the OS provides APIs like the BSD Sockets API ( Linux Manpage ) and the Windows adaptation WinSock . Libraries like POCO just provide convenience wrappers around those, possibly adding High-Level protocols like HTTP.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM