id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5903,acceptor usage,vickram.1988@…,chris_kohlhoff,"Can't we listen on two different ports using same acceptor object? For eg: func() { boost::asio::ip::tcp::acceptor acceptor_; // For port no 5555 boost::asio::ip::tcp::resolver resolver(io_service_); boost::asio::ip::tcp::resolver::query query(address, port1); boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(query); acceptor_.open(endpoint.protocol()); // For port no 6666 boost::asio::ip::tcp::resolver::query query2(address, port2); boost::asio::ip::tcp::endpoint endpoint2 = *resolver.resolve(query2); acceptor_.open(endpoint2.protocol()); } When i had tried to run the program i got the following exception: First-chance exception at 0x75f0d36f in HttpServer3.exe: Microsoft C++ exception: boost::exception_detail::clone_impl > at memory location 0x0012f554.. Or Do I have a misunderstanding on acceptor concepts... Pl clarify me...",Bugs,closed,To Be Determined,asio,Boost 1.47.0,Problem,invalid,,