major work on the broadcast admin and stress client

This commit is contained in:
Peter Thorson
2011-12-11 14:05:08 -06:00
parent e7d3879df4
commit ebf0fa614c
79 changed files with 19994 additions and 16 deletions

View File

@@ -111,6 +111,11 @@ public:
int32_t rand() {
return 0;
}
// should this exist?
boost::asio::io_service& get_io_service() {
return m_endpoint.get_io_service();
}
protected:
connection(endpoint& e)
: m_endpoint(e),
@@ -202,7 +207,7 @@ void server<endpoint>::listen(uint16_t port) {
m_acceptor.open(m_endpoint.protocol());
m_acceptor.set_option(boost::asio::socket_base::reuse_address(true));
m_acceptor.bind(m_endpoint);
m_acceptor.listen();
m_acceptor.listen(200000);
this->start_accept();