Sets low-level operating modes for the xtd::net::sockets::socket using numerical control codes.
- Parameters
-
io_control_code | An int32 value that specifies the control code of the operation to perform. |
option_in_value | A byte array that contains the input data required by the operation. |
option_out_value | A byte array that contains the output data returned by the operation. |
- Returns
- The number of bytes in the option_out_value parameter.
- Note
- If you receive a xtd::net::sockets::socket_exception, use the xtd::net::sockets::socket_exception 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 for a detailed description of the error.