diff options
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
@@ -13,9 +13,11 @@ int main(int argc, char **argv) {  		music::init(argv[1]);  		decoder::init();  		encoder::init(); - +		  		boost::asio::io_service io_service; -		HTTPServer httpd(io_service, tcp::endpoint(tcp::v6(), 8000)); +		 +		HTTP::Server httpd(io_service, tcp::endpoint(tcp::v6(), 8000)); +		  		std::vector<boost::shared_ptr<boost::thread> > threads;  		for(std::size_t i = 0; i < 10; i++) {  			boost::shared_ptr<boost::thread> thread(new boost::thread(boost::bind(&boost::asio::io_service::run, &io_service)));  | 
