MCPcopy Create free account
hub / github.com/boostorg/asio / make_daytime_string

Function make_daytime_string

example/cpp11/tutorial/daytime6/server.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using boost::asio::ip::udp;
20
21std::string make_daytime_string()
22{
23 using namespace std; // For time_t, time and ctime;
24 time_t now = time(0);
25 return ctime(&now);
26}
27
28class udp_server
29{

Callers 1

handle_receiveMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected