## Socket::Listen method


Changes the socket state to 'listen'.

```cpp
void System::Net::Sockets::Socket::Listen(int32_t backlog)
```


| Parameter | Type | Description |
| --- | --- | --- |
| backlog | int32_t | The maximum number of pending connections. |

## See Also

* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
