summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index c102a5b..19695cf 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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)));