Boost logo

Boost Users :

Subject: [Boost-users] [asio] Newbie problem running tutorial example Daytime.4 - Asynchronous UDP daytime client
From: Adolfo Jimenez (adolfojmillan_at_[hidden])
Date: 2010-07-29 05:17:04

Hi list:

Using MSVCPP C++ 9.0 and Boost_1_43_0, and trying to follow the examples in
the tutorial.

The Daytime.4 example hangs in line

size_t len = socket.receive_from(boost::asio::buffer(recv_buf),

it seem that wait indefinitely for a response.

Using this server:

char* serverName = ""; // LDSBC, Salt Lake
City, Utah

Neither with:
char* serverName = "" or any other in the list.

By the way, the Daytime.1 (asynchronous TCP datytime client) example and
Timer1 to 5 examples works fine for me.

Any suggestion would be appreciated.



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at