Just wanted to know if setting the following option on acceptor should be ever done or not.. When should this be used..
The reason I am asking this is because I have a server application which crashed but the socket did not close. So, the next time, I was bringing up the server, I get the error :
Error occured! Error code = system:98. Message: bind: Address already in use
But, even giving the option above, it is not working fine.
I referred to the URL : https://stackoverflow.com/questions/34596638/boost-asio-so-reuseport to figure out the steps in which acceptor should be created from this link.