System::Net::Sockets::Socket::ReceiveMessageFrom methode
inhoud
[
verbergen
]Socket::ReceiveMessageFrom(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Ontvangt gegevens van het opgegeven eindpunt en schrijft ze naar de opgegeven byte-array.
int32_t System::Net::Sockets::Socket::ReceiveMessageFrom(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags &socketFlags, System::SharedPtr<EndPoint> &remoteEP, IPPacketInformation &ipPacketInformation)
| Parameter | Type | Beschrijving |
|---|---|---|
| buffer | System::ArrayPtr<uint8_t> | De byte-array waarin de ontvangen gegevens worden geplaatst. |
| offset | int32_t | De offset in bytes in de opgegeven array. |
| size | int32_t | Het aantal te ontvangen bytes dat zal worden toegewezen aan de opgegeven byte-array vanaf de ‘offset’-index. |
| socketFlags | SocketFlags& | Het ontvangsgedrag. |
| remoteEP | System::SharedPtr<EndPoint>& | Het externe eindpunt. |
| ipPacketInformation | IPPacketInformation& | De uitvoerparameter waarin informatie over het pakket wordt toegewezen. |
ReturnValue
Het aantal ontvangen bytes.
Zie ook
- Typedef ArrayPtr
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::ReceiveMessageFrom(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Ontvangt gegevens van het opgegeven eindpunt en schrijft ze naar de opgegeven byte-array.
int32_t System::Net::Sockets::Socket::ReceiveMessageFrom(System::Details::ArrayView<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags &socketFlags, System::SharedPtr<EndPoint> &remoteEP, IPPacketInformation &ipPacketInformation)
| Parameter | Type | Beschrijving |
|---|---|---|
| buffer | System::Details::ArrayView<uint8_t> | De byte-array waarin de ontvangen gegevens worden geplaatst. |
| offset | int32_t | De offset in bytes in de opgegeven array. |
| size | int32_t | Het aantal te ontvangen bytes dat zal worden toegewezen aan de opgegeven byte-array vanaf de ‘offset’-index. |
| socketFlags | SocketFlags& | Het ontvangsgedrag. |
| remoteEP | System::SharedPtr<EndPoint>& | Het externe eindpunt. |
| ipPacketInformation | IPPacketInformation& | De uitvoerparameter waarin informatie over het pakket wordt toegewezen. |
ReturnValue
Het aantal ontvangen bytes.
Zie ook
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::ReceiveMessageFrom(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Ontvangt gegevens van het opgegeven eindpunt en schrijft ze naar de opgegeven byte-array.
template<std::size_t> int32_t System::Net::Sockets::Socket::ReceiveMessageFrom(System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t size, SocketFlags &socketFlags, System::SharedPtr<EndPoint> &remoteEP, IPPacketInformation &ipPacketInformation)
| Parameter | Type | Beschrijving |
|---|---|---|
| buffer | System::Details::StackArray<uint8_t, N>& | De byte-array waarin de ontvangen gegevens worden geplaatst. |
| offset | int32_t | De offset in bytes in de opgegeven array. |
| size | int32_t | Het aantal te ontvangen bytes dat zal worden toegewezen aan de opgegeven byte-array vanaf de ‘offset’-index. |
| socketFlags | SocketFlags& | Het ontvangsgedrag. |
| remoteEP | System::SharedPtr<EndPoint>& | Het externe eindpunt. |
| ipPacketInformation | IPPacketInformation& | De uitvoerparameter waarin informatie over het pakket wordt toegewezen. |
ReturnValue
Het aantal ontvangen bytes.
Zie ook
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++