1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-11 11:41:56 +02:00

41 lines
736 B
Plaintext
Raw Normal View History

2025-01-21 17:01:15 +03:00
---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Create server
Creates a new TCP server and sets the port
`Function CreateServer(Val Port, Start = False) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Port | - | Number | ✔ | Available port number for the server |
| Start | - | Boolean | ✖ | True > immediately starts the created server |
Returns: Arbitrary - Returns a running TCP server object on successful creation or a structure with an error description
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```