You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-09 23:56:48 +02:00
15 lines
571 B
Plaintext
Vendored
15 lines
571 B
Plaintext
Vendored
LaunchPort = 9877;
|
|
ServerObject = OPI_TCP.StartServer(LaunchPort);
|
|
|
|
// Connect to running server
|
|
ConnectionAddress = "127.0.0.1:9877";
|
|
ClientObject = OPI_TCP.CreateConnection(ConnectionAddress);
|
|
If Not OPI_TCP.IsClientObject(ClientObject) Then
|
|
Raise OPI_Tools.JSONString(ClientObject);
|
|
EndIf;
|
|
|
|
ActiveConnections = OPI_TCP.GetConnectionList(ServerObject);
|
|
ConnectionID = ActiveConnections["connections"][0]["connectionId"];
|
|
|
|
// Finish sending from server
|
|
Result = OPI_TCP.CompleteSend(ServerObject, ConnectionID); |