Che Posted December 31, 2014 Report Posted December 31, 2014 The C++ Network Library ProjectOverviewThe project aims to build upon the latest C++ standard (currently C++11) to provide easy to use libraries for network programming. We use the latest compiler versions and features with an eye on pushing the boundaries on leveraging what's available in C++.Currently the library contains an HTTP client and server implementation, a stand-alone URI library, a network message framework, and some concurrency tools.The project welcomes contributions from people interested in joining the effort. See the section on Project Policies for more information on getting involved.Mai multe aveti aici: cpp-netlib: The C++ Network LibraryCautam acum ceva timp sa fac un program care sa citeasca sursa unei pagini web: https://rstforums.com/forum/94545-c-ajutor-network-connection-ping-check-online-si-request-timeout.rstPana la urma am reusit cu ajutorul baietilor de pe forum. Dar cautand eu pe net cum sa fac chestia asta am dat si peste aceasta librarie cu care se poate crea un program de asta de tip client (chiar si unul de tip server) cu care sa faci astfel de conexiuni, requesturi etc.Se realizeaza ceea ce vrei muuult mai usor.Un exemplu aveti aici:#include <boost/network/protocol/http/client.hpp>#include <string>#include <iostream>int main(){ boost::network::http::client client; boost::network::http::client::request request("http://www.example.com"); request << boost::network::header("Connection", "close"); boost::network::http::client::response response = client.get(request); std::cout << body(response);}sursa: How can I fetch data from a website inside a C++ program - Stack OverflowPare usor de folosit insa nu am folosit aceasta librarie fiindca mi se pare mult mai mare decat daca ai face direct in C++, insa pentru incepatori e foarte buna. Si ai de descarcat si ptr. Linux si pentru Windows. Quote