System::Net::Sockets::Socket::ReceiveFrom method

Socket::ReceiveFrom(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array where the received data will be assigned.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::ArrayView<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The byte array where the received data will be assigned.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

template<std::size_t> int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The byte array where the received data will be assigned.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::ArrayPtr<uint8_t>, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::ArrayPtr<uint8_t> buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array where the received data will be assigned.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::ArrayView<uint8_t>, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::ArrayView<uint8_t> buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The byte array where the received data will be assigned.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N>&, int32_t, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

template<std::size_t> int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N> &buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The byte array where the received data will be assigned.
sizeint32_tThe number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::ArrayPtr<uint8_t>, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::ArrayPtr<uint8_t> buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array where the received data will be assigned.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::ArrayView<uint8_t>, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::ArrayView<uint8_t> buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The byte array where the received data will be assigned.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::ArrayPtr<uint8_t>, SocketFlags, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

template<std::size_t> int32_t System::Net::Sockets::Socket::ReceiveFrom(System::ArrayPtr<uint8_t> buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array where the received data will be assigned.
socketFlagsSocketFlagsThe receive behavior.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::ArrayPtr<uint8_t>, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::ArrayPtr<uint8_t> buffer, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array where the received data will be assigned.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::ArrayView<uint8_t>, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::ArrayView<uint8_t> buffer, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The byte array where the received data will be assigned.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also

Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N>&, System::SharedPtr<EndPoint>&) method

Receives data from the specified endpoint and writes it to the specified byte array.

template<std::size_t> int32_t System::Net::Sockets::Socket::ReceiveFrom(System::Details::StackArray<uint8_t, N> &buffer, System::SharedPtr<EndPoint> &remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The byte array where the received data will be assigned.
remoteEPSystem::SharedPtr<EndPoint>&The remote endpoint.

ReturnValue

The number of received bytes.

See Also