System::Net::Sockets::Socket::IOControl metod

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

Ställer in lågnivådriftslägen för socketen.

int32_t System::Net::Sockets::Socket::IOControl(int32_t ioControlCode, System::ArrayPtr<uint8_t> optionInValue, System::ArrayPtr<uint8_t> optionOutValue)
ParameterTypeBeskrivning
ioControlCodeint32_tKontrollkoden för den operation som ska utföras.
optionInValueSystem::ArrayPtr<uint8_t>Bytearrayen som innehåller indata.
optionOutValueSystem::ArrayPtr<uint8_t>Bytearrayen som innehåller utdata.

ReturnValue

Antalet byte i parametern optionOutValue.

Se även

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

Ställer in lågnivådriftslägen för socketen.

int32_t System::Net::Sockets::Socket::IOControl(IOControlCode ioControlCode, System::ArrayPtr<uint8_t> optionInValue, System::ArrayPtr<uint8_t> optionOutValue)
ParameterTypeBeskrivning
ioControlCodeIOControlCodeKontrollkoden för den operation som ska utföras.
optionInValueSystem::ArrayPtr<uint8_t>Bytearrayen som innehåller indata.
optionOutValueSystem::ArrayPtr<uint8_t>Bytearrayen som innehåller utdata.

ReturnValue

Antalet byte i parametern optionOutValue.

Se även