> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/quickcreateatport.md).

# QuickCreateAtPort

Quickly forward a single proxy to a specific port (index → port).

* If the port has a configured proxy, that configuration will be used.
* If not, a random proxy will be assigned.

```c
int QuickCreateAtPort(int index, char* requestId, char* plan)
```

***

## Parameters

* **index**: Port to forward.
* **requestId**: Request ID used to receive success/failure status from events.
* **plan**: Plan ID (default "1").

## Return Value

* int: 0 if success.

## Example

```c
// example

QuickCreateAtPort(5, "p", "pro");

```
