## TcpClient::set_Client method


Sets the socket.

```cpp
void System::Net::Sockets::TcpClient::set_Client(System::SharedPtr<Socket> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<Socket\> | The value that must be set. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Socket](../../socket/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
