[so] get host
miahi
so@atlantis.cs.pub.ro
Thu, 11 Dec 2003 13:05:57 +0200
Am c=E3utat =EEn man dup=E3 gethostbyname (pe care-l folosisem cu succes =
anul
trecut =EEn temele de PC) =BAi am g=E3sit c=E3 nu e POSIX-compliant, =
doar BSD 4.3;
tot acolo am g=E3sit =BAi urm=E3toarea not=E3:
POSIX 1003.1-2001 marks gethostbyaddr() and gethostbyname() =
legacy,
and
introduces
struct hostent *getipnodebyaddr (const void *restrict addr,
socklen_t len, int type, int *restrict error_num);
struct hostent *getipnodebyname (const char *name,
int type, int flags, int *error_num);
ok, am zis, s=E3 le caut pe cele noi.
[root@home-linux tema4]# man getipnodebyname
No manual entry for getipnodebyname
[root@home-linux tema4]# man 3 getipnodebyname
No entry for getipnodebyname in section 3 of the manual
un google(getipnodebyaddr) a g=E3sit ni=BAte pagini de man pentru el, =
dar erau
de Solaris. Bine=EEn=FEeles c=E3 RH9-le meu habar nu are de =
getipnodebyaddr.
Cum se face o cerere DNS POSIX-compliant =EEn LINUX?
miahi=20