System::Net::Sockets::Socket::Send method
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)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The data to send. |
ReturnValue
The number of sent bytes.
See Also
- Typedef ArrayPtr
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the send operation fails. |
ReturnValue
The number of sent bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The data to send. |
size | int32_t | The number of bytes from the specified data that must be send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The data to send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The data to send. |
ReturnValue
The number of sent bytes.
See Also
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the send operation fails. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The data to send. |
size | int32_t | The number of bytes from the specified data that must be send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The data to send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The data to send. |
ReturnValue
The number of sent bytes.
See Also
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The data to send. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes in the specified array starting from the ‘offset’ parameter. |
socketFlags | SocketFlags | The send behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the send operation fails. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The data to send. |
size | int32_t | The number of bytes from the specified data that must be send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The data to send. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffers | System::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
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffers | System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> | A collection of byte arrays from which data must be sent. |
socketFlags | SocketFlags | The send behavior. |
ReturnValue
The number of sent bytes.
See Also
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
buffers | System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> | A collection of byte arrays from which data must be sent. |
socketFlags | SocketFlags | The send behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the send operation fails. |
ReturnValue
The number of sent bytes.
See Also
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++