System::Net::Sockets::Socket::Receive method
Socket::Receive(System::ArrayPtr<uint8_t>) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::ArrayPtr<uint8_t> buffer)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The byte array where the received data will be assigned. |
ReturnValue
The number of received bytes.
See Also
- Typedef ArrayPtr
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags, SocketError&) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, SocketError &errorCode)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the receive operation fails. |
ReturnValue
The number of received bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::ArrayPtr<uint8_t>, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::ArrayPtr<uint8_t> buffer, int32_t size, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The byte array where the received data will be assigned. |
size | int32_t | The number of bytes to receive. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::ArrayPtr<uint8_t>, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::ArrayPtr<uint8_t> buffer, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | The byte array where the received data will be assigned. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Typedef ArrayPtr
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::ArrayView<uint8_t>) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::Details::ArrayView<uint8_t> buffer)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The byte array where the received data will be assigned. |
ReturnValue
The number of received bytes.
See Also
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::Details::ArrayView<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags, SocketError&) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(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 byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the receive operation fails. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::ArrayView<uint8_t>, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::Details::ArrayView<uint8_t> buffer, int32_t size, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The byte array where the received data will be assigned. |
size | int32_t | The number of bytes to receive. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::ArrayView<uint8_t>, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
int32_t System::Net::Sockets::Socket::Receive(System::Details::ArrayView<uint8_t> buffer, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::ArrayView<uint8_t> | The byte array where the received data will be assigned. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::StackArray<uint8_t, N>&) method
Receives data from the socket and writes it to the specified byte array.
template<std::size_t> int32_t System::Net::Sockets::Socket::Receive(System::Details::StackArray<uint8_t, N> &buffer)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The byte array where the received data will be assigned. |
ReturnValue
The number of received bytes.
See Also
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
template<std::size_t> int32_t System::Net::Sockets::Socket::Receive(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 byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags, SocketError&) method
Receives data from the socket and writes it to the specified byte array.
template<std::size_t> int32_t System::Net::Sockets::Socket::Receive(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 byte array where the received data will be assigned. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to receive that will be assigned to the specified byte array from the ‘offset’ index. |
socketFlags | SocketFlags | The receive behavior. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the receive operation fails. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::StackArray<uint8_t, N>&, int32_t, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
template<std::size_t> int32_t System::Net::Sockets::Socket::Receive(System::Details::StackArray<uint8_t, N> &buffer, int32_t size, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The byte array where the received data will be assigned. |
size | int32_t | The number of bytes to receive. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::Details::StackArray<uint8_t, N>&, SocketFlags) method
Receives data from the socket and writes it to the specified byte array.
template<std::size_t> int32_t System::Net::Sockets::Socket::Receive(System::Details::StackArray<uint8_t, N> &buffer, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffer | System::Details::StackArray<uint8_t, N>& | The byte array where the received data will be assigned. |
socketFlags | SocketFlags | The receive behavior. |
ReturnValue
The number of received bytes.
See Also
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>) method
Receives data from the socket and writes it to the specified byte arrays.
int32_t System::Net::Sockets::Socket::Receive(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> buffers)
Parameter | Type | Description |
---|---|---|
buffers | System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> | The byte arrays where the received data will be assigned. |
ReturnValue
The number of bytes that are received.
See Also
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>, SocketFlags) method
Receives data from the socket and writes it to the specified byte arrays.
int32_t System::Net::Sockets::Socket::Receive(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> buffers, SocketFlags socketFlags)
Parameter | Type | Description |
---|---|---|
buffers | System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>> | The byte arrays where the received data will be assigned. |
socketFlags | SocketFlags | The receive behaviour. |
ReturnValue
The number of received bytes.
See Also
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Enum SocketFlags
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++
Socket::Receive(System::SharedPtr<Collections::Generic::IList<ArraySegment<uint8_t>>>, SocketFlags, SocketError&) method
Receives data from the socket and writes it to the specified byte arrays.
int32_t System::Net::Sockets::Socket::Receive(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>>> | The byte arrays where the received data will be assigned. |
socketFlags | SocketFlags | The receive behaviour. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the receive operation fails. |
ReturnValue
The number of received bytes.
See Also
- Typedef SharedPtr
- Class IList
- Class ArraySegment
- Enum SocketFlags
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.TeX for C++