System::Net::Sockets::Socket::Send method

Contents
[ ]

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

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::ArrayPtr<uint8_t> buffer, int32_t size, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
sizeint32_tThe number of bytes from the specified data that must be send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::ArrayView<uint8_t>, int32_t, SocketFlags) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::Details::ArrayView<uint8_t> buffer, int32_t size, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.
sizeint32_tThe number of bytes from the specified data that must be send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the socket.

template<std::size_t> int32_t System::Net::Sockets::Socket::Send(System::Details::StackArray<uint8_t, N> &buffer, int32_t size, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.
sizeint32_tThe number of bytes from the specified data that must be send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::ArrayPtr<uint8_t>, SocketFlags) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::ArrayPtr<uint8_t> buffer, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::ArrayView<uint8_t>, SocketFlags) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::Details::ArrayView<uint8_t> buffer, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::StackArray<uint8_t, N>&, SocketFlags) method

Sends the specified data to the socket.

template<std::size_t> int32_t System::Net::Sockets::Socket::Send(System::Details::StackArray<uint8_t, N> &buffer, SocketFlags socketFlags)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::ArrayPtr<uint8_t>) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::ArrayPtr<uint8_t> buffer)
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The data to send.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::ArrayView<uint8_t>) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::Details::ArrayView<uint8_t> buffer)
ParameterTypeDescription
bufferSystem::Details::ArrayView<uint8_t>The data to send.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::StackArray<uint8_t, N>&) method

Sends the specified data to the socket.

template<std::size_t> int32_t System::Net::Sockets::Socket::Send(System::Details::StackArray<uint8_t, N> &buffer)
ParameterTypeDescription
bufferSystem::Details::StackArray<uint8_t, N>&The data to send.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> buffers)
ParameterTypeDescription
buffersSystem::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>A collection of byte arrays from which data must be sent.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>, SocketFlags) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> buffers, SocketFlags socketFlags)
ParameterTypeDescription
buffersSystem::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>A collection of byte arrays from which data must be sent.
socketFlagsSocketFlagsThe send behavior.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>, SocketFlags, SocketError&) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> buffers, SocketFlags socketFlags, SocketError &errorCode)
ParameterTypeDescription
buffersSystem::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>A collection of byte arrays from which data must be sent.
socketFlagsSocketFlagsThe send behavior.
errorCodeSocketError&The output parameter where the error code will be assigned when the send operation fails.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags)
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.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::Details::ArrayView<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags)
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.

ReturnValue

The number of sent bytes.

See Also

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

Sends the specified data to the socket.

template<std::size_t> int32_t System::Net::Sockets::Socket::Send(System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t size, SocketFlags socketFlags)
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.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags, SocketError&) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, SocketError &errorCode)
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.
errorCodeSocketError&The output parameter where the error code will be assigned when the send operation fails.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags, SocketError&) method

Sends the specified data to the socket.

int32_t System::Net::Sockets::Socket::Send(System::Details::ArrayView<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, SocketError &errorCode)
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.
errorCodeSocketError&The output parameter where the error code will be assigned when the send operation fails.

ReturnValue

The number of sent bytes.

See Also

Socket::Send(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags, SocketError&) method

Sends the specified data to the socket.

template<std::size_t> int32_t System::Net::Sockets::Socket::Send(System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t size, SocketFlags socketFlags, SocketError &errorCode)
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.
errorCodeSocketError&The output parameter where the error code will be assigned when the send operation fails.

ReturnValue

The number of sent bytes.

See Also