You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-18 09:51:28 +02:00
15 lines
432 B
Plaintext
Vendored
15 lines
432 B
Plaintext
Vendored
// Host
|
|
Port = 5555;
|
|
ServerObject = OPI_ZeroMQ.BindPortRep(Port);
|
|
|
|
If Not OPI_ZeroMQ.IsConnectorObject(ServerObject) Then
|
|
Raise OPI_Tools.JSONString(ServerObject);
|
|
EndIf;
|
|
|
|
// Client
|
|
Address = "tcp://127.0.0.1:5555";
|
|
ClientObject = OPI_ZeroMQ.CreateConnectionReq(Address);
|
|
|
|
If Not OPI_ZeroMQ.IsConnectorObject(ClientObject) Then
|
|
Raise OPI_Tools.JSONString(ClientObject);
|
|
EndIf; |