Quick background: We are a software developer of medical billing software and have recently partnered with a document imaging company and have developed an interface between our AS/400 database and their document imaging server using RPG socket programs. Most of our clients are using Client Access to communicate with the 400 and our socket programs use the PC's TCP/IP address to determine what port to send messages to.
Problem: We have a client running a Microsoft Terminal Services network and all the PC's are running a thin client environment. Since all the PC's are using the same TCP/IP address, which is the address of the Terminal Services Server we are having a problem determining how to send data back to the individual PC that requested the information.
Question: Is there a way of identifying the workstation on the Terminal Services Server from within the RPG socket program or at least from the AS/400?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!