Export set_socket_opt in detail namespace#2411
Conversation
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
|
@angt does the following method meets your needs? Server &set_socket_options(SocketOptions socket_options); |
I use it to customize the setsockopt function yes, but I need to handle the Windows case myself and replicate the exact same |
|
I intentionally put Could you please try to resolve the issue you’re experiencing using the public method |
|
This was just to allow the user to have a simple code like this: instead of |
|
@angt I made the function public. |
This allows users to set custom socket options without reimplementing platform specific wrappers