System::Net::Sockets::TcpClient::TcpClient 构造函数
TcpClient::TcpClient() constructor
构造一个新实例。
System::Net::Sockets::TcpClient::TcpClient()
另见
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::TcpClient(AddressFamily) constructor
构造一个新实例。
System::Net::Sockets::TcpClient::TcpClient(AddressFamily family)
| 参数 | 类型 | 描述 |
|---|---|---|
| family | AddressFamily | 一个地址族。 |
另见
- Enum AddressFamily
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::TcpClient(String, int32_t) constructor
构造一个新实例。
System::Net::Sockets::TcpClient::TcpClient(String hostname, int32_t port)
| 参数 | 类型 | 描述 |
|---|---|---|
| hostname | String | 要连接的远程主机名。 |
| port | int32_t | 要连接的远程主机端口。 |
另见
- Class String
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::TcpClient(System::SharedPtr<IPEndPoint>) constructor
构造一个新实例。
System::Net::Sockets::TcpClient::TcpClient(System::SharedPtr<IPEndPoint> localEP)
| 参数 | 类型 | 描述 |
|---|---|---|
| localEP | System::SharedPtr<IPEndPoint> | 套接字绑定的端点。 |
另见
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++