Sets a socket option value using platform-specific level and name identifiers.
- Parameters
-
socket_option_level | The platform-defined option name. |
socket_option_name | The platform-defined option name. |
option_value | A pointer of the option value. |
size_option_value | The size of the option value. |
- Exceptions
-
- Note
- If you receive a xtd::net::sockets::socket_exception exception, use the xtd::net::sockets::socket_exception::error_code property to obtain the specific error code. After you have obtained this code, refer to the Windows Sockets version 2 API error code documentation in the MSDN library for a detailed description of the error.