suggestion for receiving tcp settings for a specific service

27 views Asked by At

I have some price subscriptions that require clients to know which tcp server and port to use to get them. For example, for MSFT one might need to connect to 192.168.5.6:4500.

I have been wondering how to best store/retrieve this info so both servers and clients could share the same settings. Some ideas like using dns entries, proxies, yellow pages, or else might work but i'm not 100% sure. Some have suggested to me to use db tables but maybe there is some way to retrieve this with some simple tcp messages to some service out there. Ideally it should work with Window and Linux clients.

What do you guys suggest?

ps. It would be cool to also know of backup server settings in case the primary one is down so querying for MSFT could return a list of settings to use.

1

There are 1 answers

0
edwinc On

I just read about LDAP and it seems like it should work.