Configure flags while creating sockets.
Brought to you by:
chris_kohlhoff
On Windows, when we create tcp sockets, asio library creates a Windows socket via WSASocket in asio/detail/impl/socket_ops.ipp.
WSASocket function has an option to provide some flags which changes some properties of the socket being created e.g., whether the socket is inheritable by the process' children. More details here
It would be helpful if asio library provides an option to configure this flag.
That is a great idea.