IOControl()

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)

Arguments

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.

Return Value

The number of bytes in the optionOutValue parameter.

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)

Arguments

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.

Return Value

The number of bytes in the optionOutValue parameter.

See Also