forked from boostorg/beast
1 parent
490b9ce893
commit
a4714746dc
18 files changed
+122
No files matched your search
@@ -419,6 +419,14 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
// Allow address reuse
|
||||
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||
if(ec)
|
||||
{
|
||||
fail(ec, "set_option");
|
||||
return;
|
||||
}
|
||||
|
||||
// Bind to the server address
|
||||
acceptor_.bind(endpoint, ec);
|
||||
if(ec)
|
||||
|
||||
Reference in new issue
Block a user