System::Net::Sockets::Socket::IOControl method

Socket::IOControl(int32_t, System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) method

Sets low-level operating modes for the socket.

int32_t System::Net::Sockets::Socket::IOControl(int32_t ioControlCode, System::ArrayPtr<uint8_t> optionInValue, System::ArrayPtr<uint8_t> optionOutValue)
ParameterTypeDescription
ioControlCodeint32_tThe control code of the operation to perform.
optionInValueSystem::ArrayPtr<uint8_t>The byte array that contains the input data.
optionOutValueSystem::ArrayPtr<uint8_t>The byte array that contains the output data.

ReturnValue

The number of bytes in the optionOutValue parameter.

See Also

Socket::IOControl(IOControlCode, System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) method

Sets low-level operating modes for the socket.

int32_t System::Net::Sockets::Socket::IOControl(IOControlCode ioControlCode, System::ArrayPtr<uint8_t> optionInValue, System::ArrayPtr<uint8_t> optionOutValue)
ParameterTypeDescription
ioControlCodeIOControlCodeThe control code of the operation to perform.
optionInValueSystem::ArrayPtr<uint8_t>The byte array that contains the input data.
optionOutValueSystem::ArrayPtr<uint8_t>The byte array that contains the output data.

ReturnValue

The number of bytes in the optionOutValue parameter.

See Also