Our telephone system is constantly putting data out on, say 192.168.0.100 5100. Is there a way of FM "listening" to this port and creating a record every time something shows up?
Hi Sean. I don't think FM can do this natively but you could achieve the results you want by using an external scripting language and writing to a log file with scheduled imports to FM. Or possibly have the external script send the data on each occasion to FM using FMP URL Protocol. The only problem with option 2 is just that it could get tripped up if the traffic is too rapid. Not sure what platform you are on but a quick google search turned up below for Windows Powershell:
Also, you probably aren't using Windows Firewall but just in case:
How is the data going out?
Not sure you've ever replied to any of my posts about micro-services, but I would look into those as well. A quick search found about 40+ projects that work with Java and ports in one way or another. Since FMP can't even natively do any low-level File I/O that Visual FoxPro could/can, for example, I wouldn't expect FMP to have other lower-level Java-, C-, C++, port capabilities.
I'm not a programmer so that route is probably not open to me.
Re firewall - it's all on the same LAN and if I use Telnet, I can "see" the data so don't think that will be a problem.
Here's what it looks like in Telnet
I'm just looking to create one record for each "line" (it's wrapping because Telnet won't go any wider)"
I'm not really a Java etc. programmer so I'm unlikely to go that route.
Retrieving data ...