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