System::Net::Sockets::Socket::ReceiveMessageFrom method
İçindekiler
[
Saklamak
]Socket::ReceiveMessageFrom(System::ArrayPtr<uint8_t>, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Belirtilen uç noktadan veri alır ve belirtilen bayt dizisine yazar.
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)
| Parametre | Tür | Açıklama |
|---|---|---|
| buffer | System::ArrayPtr<uint8_t> | Alınan verinin atanacağı bayt dizisi. |
| offset | int32_t | Belirtilen dizideki bayt cinsinden ofset. |
| size | int32_t | ‘offset’ indeksinden itibaren belirtilen bayt dizisine atanacak alınacak bayt sayısı. |
| socketFlags | SocketFlags& | Alma davranışı. |
| remoteEP | System::SharedPtr<EndPoint>& | Uzak uç nokta. |
| ipPacketInformation | IPPacketInformation& | Paket hakkında bilginin atanacağı çıktı parametresi. |
ReturnValue
Alınan bayt sayısı.
Ayrıca Bakınız
- Typedef ArrayPtr
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::ReceiveMessageFrom(System::Details::ArrayView<uint8_t>, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Belirtilen uç noktadan veri alır ve belirtilen bayt dizisine yazar.
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)
| Parametre | Tür | Açıklama |
|---|---|---|
| buffer | System::Details::ArrayView<uint8_t> | Alınan verinin atanacağı bayt dizisi. |
| offset | int32_t | Belirtilen dizideki bayt cinsinden ofset. |
| size | int32_t | ‘offset’ indeksinden itibaren belirtilen bayt dizisine atanacak alınacak bayt sayısı. |
| socketFlags | SocketFlags& | Alma davranışı. |
| remoteEP | System::SharedPtr<EndPoint>& | Uzak uç nokta. |
| ipPacketInformation | IPPacketInformation& | Paket hakkında bilginin atanacağı çıktı parametresi. |
ReturnValue
Alınan bayt sayısı.
Ayrıca Bakınız
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::ReceiveMessageFrom(System::Details::StackArray<uint8_t, N>&, int32_t, int32_t, SocketFlags&, System::SharedPtr<EndPoint>&, IPPacketInformation&) method
Belirtilen uç noktadan veri alır ve belirtilen bayt dizisine yazar.
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)
| Parametre | Tür | Açıklama |
|---|---|---|
| buffer | System::Details::StackArray<uint8_t, N>& | Alınan verinin atanacağı bayt dizisi. |
| offset | int32_t | Belirtilen dizideki bayt cinsinden ofset. |
| size | int32_t | ‘offset’ indeksinden itibaren belirtilen bayt dizisine atanacak alınacak bayt sayısı. |
| socketFlags | SocketFlags& | Alma davranışı. |
| remoteEP | System::SharedPtr<EndPoint>& | Uzak uç nokta. |
| ipPacketInformation | IPPacketInformation& | Paket hakkında bilginin atanacağı çıktı parametresi. |
ReturnValue
Alınan bayt sayısı.
Ayrıca Bakınız
- Enum SocketFlags
- Typedef SharedPtr
- Class EndPoint
- Class IPPacketInformation
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++