#include <sstream>
#include <stdexcept>
+#include <time.h>
#include <boost/bind.hpp>
newconn->set_server(this);
connections[cid]=newconn;
- // add all callbacks
+ // add all callbacks except new_connection
for(int e=connection_closed; e != __events_end; e++)
{
std::list<boost::function<void (unsigned int)> >::iterator i,ie=callbacks[e].end();