2009-05-31から1日間の記事一覧
リンクするライブラリが分からなくなる。
無言で死ぬ。なーぜーだー #define _WIN32_WINNT 0x0501 #define __USE_W32_SOCKETS #include <iostream> #include <string> #include <boost/asio.hpp> using namespace std; using namespace boost::asio; int main() { ip::tcp::iostream s("www.example.com", "http"); s << "GET / HTTP/1.</boost/asio.hpp></string></iostream>…