mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-31 22:05:13 +02:00
17 lines
505 B
Plaintext
Vendored
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;
|