1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-31 22:05:13 +02:00
Vitaly the Alpaca (bot) 52536bff1c Main build (Jenkins)
2025-01-21 21:15:29 +03:00

17 lines
505 B
Plaintext
Vendored

TCPServer = OPI_TCP.CreateServer(7788, True);
For N = 1 To 5 Do
NewConnection = OPI_TCP.AwaitingConnection(TCPServer, 20);
If NewConnection["result"] Then
Connection = NewConnection["connection"];
Else
Continue;
EndIf;
Response = OPI_TCP.SendData(TCPServer, Connection, ПолучитьДвоичныеДанныеИзСтроки("Yo"));
Closing = OPI_TCP.CloseIncomingConnection(TCPServer, Connection);
EndDo;