Question
· Jan 30

create a listen server in Cache 2016

Hi everyone,
I am trying to create a listen server in Cache 2016 that can capture data from a specific port. Can someone guide me on how to set this up, including handling incoming connections and reading data from the port? Any advice or example code would be much appreciated!

Thanks in advance!

Discussion (2)2
Log in or sign up to continue

Hi Isayas,

You need to use TCP Client Server Communications (commands Open, Use, Read, Write) you can get information about this in the documentation https://docs.intersystems.com/iris20243/csp/docbook/DocBook.UI.Page.cls?KEY=GIOD_tcp.

In the OpenExchange exists a simple sample developed  by @Robert Cemper . Follow https://openexchange.intersystems.com/package/Simple-remote-server-control

Regards.