System::Net::Sockets::TcpListener::TcpListener constructor
Contents
[
Hide
]TcpListener::TcpListener(System::SharedPtr<IPEndPoint>) constructor
Constructs a new instance.
System::Net::Sockets::TcpListener::TcpListener(System::SharedPtr<IPEndPoint> localEP)
| Parameter | Type | Description |
|---|---|---|
| localEP | System::SharedPtr<IPEndPoint> | The local endpoint to which the listener socket must be bound. |
See Also
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
TcpListener::TcpListener(System::SharedPtr<IPAddress>, int32_t) constructor
Constructs a new instance.
System::Net::Sockets::TcpListener::TcpListener(System::SharedPtr<IPAddress> localaddr, int32_t port)
| Parameter | Type | Description |
|---|---|---|
| localaddr | System::SharedPtr<IPAddress> | The local IP address. |
| port | int32_t | A port number to listen. |
See Also
- Typedef SharedPtr
- Class IPAddress
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
TcpListener::TcpListener(int32_t) constructor
Constructs a new instance.
System::Net::Sockets::TcpListener::TcpListener(int32_t port)
| Parameter | Type | Description |
|---|---|---|
| port | int32_t | A port number to listen. |
See Also
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++