You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
Main build (Jenkins)
This commit is contained in:
4
docs/en/examples/TCP/CloseConnection.txt
Normal file
4
docs/en/examples/TCP/CloseConnection.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Address = "45.79.112.203:4242";
|
||||
Connection = OPI_TCP.CreateConnection(Address);
|
||||
|
||||
Result = OPI_TCP.CloseConnection(Connection);
|
||||
4
docs/en/examples/TCP/CreateConnection.txt
Normal file
4
docs/en/examples/TCP/CreateConnection.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Address = "45.79.112.203:4242";
|
||||
Connection = OPI_TCP.CreateConnection(Address);
|
||||
|
||||
OPI_TCP.CloseConnection(Connection);
|
||||
12
docs/en/examples/TCP/ReadBinaryData.txt
Normal file
12
docs/en/examples/TCP/ReadBinaryData.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Address = "45.79.112.203:4242";
|
||||
Connection = OPI_TCP.CreateConnection(Address);
|
||||
Message = "Hello server!" + Chars.LF;
|
||||
Data = ПолучитьДвоичныеДанныеИзСтроки(Message);
|
||||
|
||||
OPI_TCP.SendBinaryData(Connection, Data);
|
||||
|
||||
// End of message marker to avoid waiting for the end of timeout
|
||||
Marker = Chars.LF;
|
||||
Result = OPI_TCP.ReadBinaryData(Connection, , Marker);
|
||||
|
||||
OPI_TCP.CloseConnection(Connection);
|
||||
Reference in New Issue
Block a user