System::Net::Sockets::UdpClient::Send メソッド
コンテンツ
[
隠れる
]UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t) method
リモートホストへ UDP データグラムを送信します。
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes)
| パラメーター | 型 | 説明 |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | 送信するための Byte 型配列。 |
| バイト | int32_t | データグラム内のバイト数。 |
ReturnValue
送信されるバイト数。
参照
- Typedef ArrayPtr
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t, String, int32_t) method
指定されたリモートホストの指定ポートへ UDP データグラムを送信します。
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes, String hostname, int32_t port)
| パラメーター | 型 | 説明 |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | 送信するための Byte 型配列 |
| バイト | int32_t | データグラム内のバイト数。 |
| ホスト名 | String | リモート ホストの名前。 |
| ポート | int32_t | リモート ポート番号。 |
ReturnValue
送信されるバイト数。
参照
- Typedef ArrayPtr
- Class String
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t, System::SharedPtr<IPEndPoint>) method
リモートエンドポイントのホストへ UDP データグラムを送信します。
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes, System::SharedPtr<IPEndPoint> endPoint)
| パラメーター | 型 | 説明 |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | 送信するための Byte 型配列 |
| バイト | int32_t | データグラム内のバイト数。 |
| endPoint | System::SharedPtr<IPEndPoint> | データグラムを送信するホストとポートを表す IPEndPoint。 |
ReturnValue
送信されるバイト数。
参照
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPEndPoint
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++