Question
Nicki Vallentgoed · Sep 30

How to get IP address of client calling HL7 TCP business service

I Have some analyzers connecting to a EnsLib.HL7.Service.TCPService.

I can see the client IP and port in the event log but I need access to that ip and port either in the business service or even better the associated business process.

Product version: Ensemble 2018.1
$ZV: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2018.1.2 (Build 309_5U) Wed Jun 12 2019 20:05:38 EDT
0
0 78
Discussion (1)1
Log in or sign up to continue

In your Business Service, assuming you are using EnsLib.HL7.Adapter.TCPInboundAdapter or something based on that as adapter, call:

write ..%Adapter.GetAddress()