## TcpListener::AcceptTcpClient method


Accepts the pending connection request and returns the TcpClient-class instance that is used for sending and receiving data.

```cpp
System::SharedPtr<TcpClient> System::Net::Sockets::TcpListener::AcceptTcpClient()
```


### ReturnValue

The TcpClient-class instance that is used for sending and receiving data.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TcpClient](../../tcpclient/)
* Class [TcpListener](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
