## TcpListener::Create method


Creates a new instance using the specified port number.

```cpp
static System::SharedPtr<TcpListener> System::Net::Sockets::TcpListener::Create(int32_t port)
```


| Parameter | Type | Description |
| --- | --- | --- |
| port | int32_t | A port number that is used to create the TcpListener-class instance. |

### ReturnValue

A newly created TcpListener-class instance.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TcpListener](../)
* Class [TcpListener](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
