[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Using Name Server .

man gethostbyname


Quoting AMB <anthbs@yahoo.com> [09 Aug-01 14:47]:
> hi ,
> My application ( written in C ) has the IP address of the LDAP server
> hardcoded which is not a good idea .So, can i use a Name Server to get the
> IP of the machine where the LDAP server is running so that i  can bind to
> that dynamically in my application ? If so , any suggestions how to do so ?
> thnx in advance.