System::Net::Sockets::Socket::SendTo method

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes in the specified array starting from the ‘offset’ parameter.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::ArrayPtr<uint8_t> buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
sizeint32_tThe number of bytes in the specified array.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::ArrayPtr<uint8_t> buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::ArrayPtr<uint8_t> buffer, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(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 data to send.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes in the specified array starting from the ‘offset’ parameter.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::Details::ArrayView<uint8_t> buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.
sizeint32_tThe number of bytes in the specified array.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::Details::ArrayView<uint8_t> buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

int32_t System::Net::Sockets::Socket::SendTo(System::Details::ArrayView<uint8_t> buffer, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

template<std::size_t> int32_t System::Net::Sockets::Socket::SendTo(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 data to send.
offsetint32_tThe offset in bytes in the specified array.
sizeint32_tThe number of bytes in the specified array starting from the ‘offset’ parameter.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

template<std::size_t> int32_t System::Net::Sockets::Socket::SendTo(System::Details::StackArray<uint8_t, N> &buffer, int32_t size, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.
sizeint32_tThe number of bytes in the specified array.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

template<std::size_t> int32_t System::Net::Sockets::Socket::SendTo(System::Details::StackArray<uint8_t, N> &buffer, SocketFlags socketFlags, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.
socketFlagsSocketFlagsThe send behavior.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the specified endpoint.

template<std::size_t> int32_t System::Net::Sockets::Socket::SendTo(System::Details::StackArray<uint8_t, N> &buffer, System::SharedPtr<EndPoint> remoteEP)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.
remoteEPSystem::SharedPtr<EndPoint>The remote endpoint.

ReturnValue

The number of sent bytes.

See Also