Is server object
Checks that the value is an object of the TCP server external component
Function IsServerObject(Val Value) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Value | - | Arbitrary | ✔ | Value to check |
Returns: Boolean - Is connector
caution
NOCLI: this method is not available in CLI version
1C:Enterprise/OneScript code example
Port = 9884;
Host = OPI_TCP.StartServer(Port);
Result = OPI_TCP.IsServerObject(Host);
Result
true