Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi David.
Using gethostbyname(), getservicebyname() ?
--
Tsutomu Ogiwara from Tokyo Japan.
>From: david@smooth1.co.uk
>Reply-To: david@smooth1.co.uk
>To: informix-list@iiug.org
>Subject: Re: solaris IDS 9.4 wont start after patch install
>Date: 15 Dec 2005 19:59:43 -0800
>
>Does anyone know how I could write code to check the services past of
>sqlhosts?
>
>Something that checks a servicename is valid on the current machine?
>What calls does
>IDS use to check?
>
>Same for the hostname? Can someone give us code to parse sqlhosts and
>check?
>Preferably in C that compiles also with gcc so it is portable and I can
>build binaries
>for people?
>
>Something I have anyways wanted to do but never had time to code!
>
>Even if people cannot contribute code can they give me an idea for how
>to check
>for valid hostname (what DNS calls?) and service names (what
>system/library calls??).
sending to informix-list
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.