System::Net::Sockets::TcpClient::BeginConnect metode
isi
[
bersembunyi
]TcpClient::BeginConnect(String, int32_t, AsyncCallback, System::SharedPtr<Object>) method
Memulai operasi koneksi asinkron.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpClient::BeginConnect(String host, int32_t port, AsyncCallback requestCallback, System::SharedPtr<Object> state)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| host | String | Nama host remote. |
| port | int32_t | Port host remote. |
| requestCallback | AsyncCallback | Callback yang akan dipanggil ketika operasi selesai. |
| state | System::SharedPtr<Object> | Data yang disediakan pengguna yang digunakan untuk mengidentifikasi secara unik setiap operasi koneksi asinkron. |
ReturnValue
Sebuah objek IAsyncResult yang mewakili operasi koneksi asinkron yang dimulai.
Lihat Juga
- Typedef SharedPtr
- Class IAsyncResult
- Class String
- Typedef AsyncCallback
- Class Object
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
TcpClient::BeginConnect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t, AsyncCallback, System::SharedPtr<Object>) method
Memulai operasi koneksi asinkron.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpClient::BeginConnect(System::ArrayPtr<System::SharedPtr<IPAddress>> addresses, int32_t port, AsyncCallback requestCallback, System::SharedPtr<Object> state)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| addresses | System::ArrayPtr<System::SharedPtr<IPAddress>> | Alamat IP dari host remote. |
| port | int32_t | Port host remote. |
| requestCallback | AsyncCallback | Callback yang akan dipanggil ketika operasi selesai. |
| state | System::SharedPtr<Object> | Data yang disediakan pengguna yang digunakan untuk mengidentifikasi secara unik setiap operasi koneksi asinkron. |
ReturnValue
Sebuah objek IAsyncResult yang mewakili operasi koneksi asinkron yang dimulai.
Lihat Juga
- Typedef SharedPtr
- Class IAsyncResult
- Typedef ArrayPtr
- Class IPAddress
- Typedef AsyncCallback
- Class Object
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
TcpClient::BeginConnect(System::SharedPtr<IPAddress>, int32_t, AsyncCallback, System::SharedPtr<Object>) method
Memulai operasi koneksi asinkron.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpClient::BeginConnect(System::SharedPtr<IPAddress> address, int32_t port, AsyncCallback requestCallback, System::SharedPtr<Object> state)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| alamat | System::SharedPtr<IPAddress> | Alamat IP dari host remote. |
| port | int32_t | Port host remote. |
| requestCallback | AsyncCallback | Callback yang akan dipanggil ketika operasi selesai. |
| state | System::SharedPtr<Object> | Data yang disediakan pengguna yang digunakan untuk mengidentifikasi secara unik setiap operasi koneksi asinkron. |
ReturnValue
Sebuah objek IAsyncResult yang mewakili operasi koneksi asinkron yang dimulai.
Lihat Juga
- Typedef SharedPtr
- Class IAsyncResult
- Class IPAddress
- Typedef AsyncCallback
- Class Object
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++