xs4all.ipv6 0000000481 0000000001 y
de.comp.lang.vbclassic 0000000257 0000000001 y
de.comp.office-pakete.ms-office.word 0000000013 0000000001 y
it.comp.dotnet 0000000074 0000000001 y
free.timothy.sutter 0000000003 0000000001 y
free.soc.religion.christian 0000000006 0000000001 y
free.fan.taylor-momsen 0000000000 0000000001 y
.
After the dot, my program doesn't terminate, because the while loop doesn't break. I understand the loop in that way: I read some bytes into my stream from the socket and write them to the std::cout, if there more bytes the loop will continue otherwise (like EOF) the look should be break. I use the example at
http://www.boost.org/doc/libs/1_44_0/doc/html/boost_asio/example/http/client/sync_client.cpp because I'm new on asio, so I hope someone can explain me, the problem.
.