System::Net::Sockets::UdpClient::Send metodo
Contenuti
[
Nascondere
]UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t) method
Invia un datagramma UDP a un host remoto.
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes)
| Parametro | Tipo | Descrizione |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | Un array di tipo Byte da inviare. |
| byte | int32_t | Il numero di byte nel datagramma. |
ReturnValue
Il numero di byte che vengono inviati.
Vedi anche
- Typedef ArrayPtr
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t, String, int32_t) method
Invia un datagramma UDP alla porta specificata sull’host remoto specificato.
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes, String hostname, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | Un array di tipo Byte da inviare |
| byte | int32_t | Il numero di byte nel datagramma. |
| nome host | Stringa | Un nome dell’host remoto. |
| porta | int32_t | Un numero di porta remoto. |
ReturnValue
Il numero di byte che vengono inviati.
Vedi anche
- Typedef ArrayPtr
- Class String
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
UdpClient::Send(System::ArrayPtr<uint8_t>, int32_t, System::SharedPtr<IPEndPoint>) method
Invia un datagramma UDP all’host all’endpoint remoto.
int32_t System::Net::Sockets::UdpClient::Send(System::ArrayPtr<uint8_t> dgram, int32_t bytes, System::SharedPtr<IPEndPoint> endPoint)
| Parametro | Tipo | Descrizione |
|---|---|---|
| dgram | System::ArrayPtr<uint8_t> | Un array di tipo Byte da inviare |
| byte | int32_t | Il numero di byte nel datagramma. |
| endPoint | System::SharedPtr<IPEndPoint> | Un IPEndPoint che rappresenta l’host e la porta a cui inviare il datagramma. |
ReturnValue
Il numero di byte che vengono inviati.
Vedi anche
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPEndPoint
- Class UdpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++