## TcpClient::Connect(String, int32_t) method


Belirtilen uzak ana bilgisayara bir bağlantı kurar.

```cpp
void System::Net::Sockets::TcpClient::Connect(String hostname, int32_t port)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| ana bilgisayar adı | Dize | Bağlanılacak uzak ana bilgisayar adı. |
| bağlantı noktası | int32_t | Bağlanılacak uzak ana bilgisayarın bir bağlantı noktası. |

## Ayrıca Bakınız

* Class [String](../../../system/string/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
## TcpClient::Connect(System::ArrayPtr\<System::SharedPtr\<IPAddress\>\>, int32_t) method


Belirtilen uzak ana bilgisayara bir bağlantı kurar.

```cpp
void System::Net::Sockets::TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> ipAddresses, int32_t port)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| ipAdresleri | System::ArrayPtr\<System::SharedPtr\<IPAddress\>\> | Uzak bir ana bilgisayarın IP adresleri. |
| bağlantı noktası | int32_t | Bağlanılacak uzak ana bilgisayarın bir bağlantı noktası. |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPAddress](../../../system.net/ipaddress/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
## TcpClient::Connect(System::SharedPtr\<IPAddress\>, int32_t) method


Belirtilen uzak ana bilgisayara bir bağlantı kurar.

```cpp
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPAddress> address, int32_t port)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| adres | System::SharedPtr\<IPAddress\> | Uzak bir ana bilgisayarın IP adresi. |
| bağlantı noktası | int32_t | Bağlanılacak uzak ana bilgisayarın bir bağlantı noktası. |

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPAddress](../../../system.net/ipaddress/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
## TcpClient::Connect(System::SharedPtr\<IPEndPoint\>) method


Belirtilen uzak ana bilgisayara bir bağlantı kurar.

```cpp
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| remoteEP | System::SharedPtr\<IPEndPoint\> | Bağlanılacak bir uzak ana bilgisayar. |

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPEndPoint](../../../system.net/ipendpoint/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
