System::Net::Sockets::Socket::Connect μέθοδος
περιεχόμενα
[
κρύβω
]Socket::Connect(String, int32_t) method
Καθιερώνει μια σύνδεση με το καθορισμένο απομακρυσμένο σημείο άκρης.
void System::Net::Sockets::Socket::Connect(String host, int32_t port)
| Parameter | Type | Περιγραφή |
|---|---|---|
| host | String | Το όνομα του απομακρυσμένου κεντρικού συστήματος. |
| θύρα | int32_t | Ο αριθμός θύρας του απομακρυσμένου κεντρικού συστήματος. |
Δείτε επίσης
- Class String
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method
Καθιερώνει μια σύνδεση με το καθορισμένο απομακρυσμένο σημείο άκρης.
void System::Net::Sockets::Socket::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> addresses, int32_t port)
| Parameter | Type | Περιγραφή |
|---|---|---|
| addresses | System::ArrayPtr<System::SharedPtr<IPAddress>> | Οι διευθύνσεις IP του απομακρυσμένου κεντρικού συστήματος. |
| θύρα | int32_t | Ο αριθμός θύρας του απομακρυσμένου κεντρικού συστήματος. |
Δείτε επίσης
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::Connect(System::SharedPtr<EndPoint>) method
Καθιερώνει μια σύνδεση με το καθορισμένο απομακρυσμένο σημείο άκρης.
void System::Net::Sockets::Socket::Connect(System::SharedPtr<EndPoint> remoteEP)
| Parameter | Type | Περιγραφή |
|---|---|---|
| remoteEP | System::SharedPtr<EndPoint> | Το απομακρυσμένο σημείο τερματισμού. |
Δείτε επίσης
- Typedef SharedPtr
- Class EndPoint
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::Connect(System::SharedPtr<IPAddress>, int32_t) method
Καθιερώνει μια σύνδεση με το καθορισμένο απομακρυσμένο σημείο άκρης.
void System::Net::Sockets::Socket::Connect(System::SharedPtr<IPAddress> address, int32_t port)
| Parameter | Type | Περιγραφή |
|---|---|---|
| διεύθυνση | System::SharedPtr<IPAddress> | Η διεύθυνση IP του απομακρυσμένου κεντρικού συστήματος. |
| θύρα | int32_t | Ο αριθμός θύρας του απομακρυσμένου κεντρικού συστήματος. |
Δείτε επίσης
- Typedef SharedPtr
- Class IPAddress
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++