Re: [Boost-bugs] [Boost C++ Libraries] #9242: I hope i can set reuseaddr property in socket initialization

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9242: I hope i can set reuseaddr property in socket initialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-05 08:00:07


#9242: I hope i can set reuseaddr property in socket initialization
----------------------------------------+----------------------------
  Reporter: wangyijian <wyj163mail@…> | Owner: chris_kohlhoff
      Type: Support Requests | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords:
----------------------------------------+----------------------------
Changes (by chris_kohlhoff):

 * status: new => closed
 * resolution: => invalid

Comment:

 Use set_option():

   my_acceptor.set_option(tcp::socket::reuse_address(true));

 N.B. it is set by default for the acceptor's convenience constructor.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9242#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC