## Socket::Accept method


Creates a new socket for the newly created connection.

```cpp
System::SharedPtr<Socket> System::Net::Sockets::Socket::Accept()
```


### ReturnValue

A new socket for the newly created connection.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Socket](../)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
