System::Net::Sockets::TcpListener::TcpListener 构造函数
TcpListener::TcpListener(int32_t) constructor
构造一个新实例。
System::Net::Sockets::TcpListener::TcpListener(int32_t port)
| 参数 | 类型 | 描述 |
|---|---|---|
| port | int32_t | 用于监听的端口号。 |
另见
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpListener::TcpListener(System::SharedPtr<IPAddress>, int32_t) constructor
构造一个新实例。
System::Net::Sockets::TcpListener::TcpListener(System::SharedPtr<IPAddress> localaddr, int32_t port)
| 参数 | 类型 | 描述 |
|---|---|---|
| localaddr | System::SharedPtr<IPAddress> | 本地 IP 地址。 |
| port | int32_t | 用于监听的端口号。 |
另见
- Typedef SharedPtr
- Class IPAddress
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpListener::TcpListener(System::SharedPtr<IPEndPoint>) constructor
构造一个新实例。
System::Net::Sockets::TcpListener::TcpListener(System::SharedPtr<IPEndPoint> localEP)
| 参数 | 类型 | 描述 |
|---|---|---|
| localEP | System::SharedPtr<IPEndPoint> | 监听套接字必须绑定的本地端点。 |
另见
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.Font for C++