The subj allways returns NULL.
No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.
Is this a bug?
Thanks
Oleg
The subj allways returns NULL.
No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.
Is this a bug?
Thanks
Oleg
Oleg A. Khamayko <olegax@mail.ru> wrote in message
news:40167DD9.7DE46BCC@mail.ru…
The subj allways returns NULL.
No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.
Did you set up “lookup file bind” in /etc/resolv.conf ?
-xtang
Is this a bug?
Thanks
Oleg
Xiaodan Tang wrote:
Oleg A. Khamayko <> olegax@mail.ru> > wrote in message
news:> 40167DD9.7DE46BCC@mail.ru> …
The subj allways returns NULL.No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.Did you set up “lookup file bind” in /etc/resolv.conf ?
Yes & No Tried with & without this parameters,
doesn’t change the result.
Oleg
PS: It’s QNX4.2x OS, of course.
-xtang
Is this a bug?
Thanks
Oleg
No news - good news? )))
“Oleg A. Khamayko” wrote:
Xiaodan Tang wrote:
Oleg A. Khamayko <> olegax@mail.ru> > wrote in message
news:> 40167DD9.7DE46BCC@mail.ru> …
The subj allways returns NULL.No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.Did you set up “lookup file bind” in /etc/resolv.conf ?
Yes & No > > Tried with & without this parameters,
doesn’t change the result.Oleg
PS: It’s QNX4.2x OS, of course.
-xtang
Is this a bug?
Thanks
Oleg
With “lookup file bind” in /etc/resolv.conf, set your /etc/hosts with full
name in it,
like:
192.168.100.1 myhost myhost.mydomain
Try “ping myhost” or “ping myhost.mydomain” see if it works.
I can’t think of any other reason that gethostbyname() would faild.
-xtang
Oleg A. Khamayko <olegax@mail.ru> wrote in message
news:401E4C4D.8719BC6A@mail.ru…
No news - good news? )))
“Oleg A. Khamayko” wrote:
Xiaodan Tang wrote:
Oleg A. Khamayko <> olegax@mail.ru> > wrote in message
news:> 40167DD9.7DE46BCC@mail.ru> …
The subj allways returns NULL.No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.Did you set up “lookup file bind” in /etc/resolv.conf ?
Yes & No > > Tried with & without this parameters,
doesn’t change the result.Oleg
PS: It’s QNX4.2x OS, of course.
-xtang
Is this a bug?
Thanks
Oleg
Oleg A. Khamayko <olegax@mail.ru> wrote:
The subj allways returns NULL.
No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.Is this a bug?
please post
ls -l /usr/watcom/10.6/usr/lib/sock
there shouldn’t be anything.
if there is anything, please remove them and test again.
Frank
Frank Liu wrote:
Oleg A. Khamayko <> olegax@mail.ru> > wrote:
The subj allways returns NULL.No ‘named’ is running, only ‘Tcpip’.
The lookup name is in ‘/etc/hosts’ file.Is this a bug?
please post
ls -l /usr/watcom/10.6/usr/lib/sock
there shouldn’t be anything.
if there is anything, please remove them and test again.
Yes, the watcom “generic” socket3r.lib was there, and it was responsible
for those.
TCP5 setup script lets the lib to remain.
So, the problem is solved.
Thanx
Oleg